If the XPath value needed for the Expand operation is different from the XPath value needed for the Collapse operation, use the ExtendedTreeViewConfiguration object.
Leave this value as a null value if the regular Select, Expand, or Collapse operations run correctly.C# Syntax
public override string ExpandXPath {get; set;}