Class TreeViewConfiguration
A set of XPath values to help the ITreeView object perform Select, Expand, and Collapse operations in cases where the default implementation cannot find the element needed.
Inherited Members
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public class TreeViewConfiguration
Constructors
TreeViewConfiguration()
Declaration
public TreeViewConfiguration()
Properties
ExpandXPath
The XPath value used to find the internal tree element used to expand and collapse a tree node.
Declaration
public virtual string ExpandXPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Leave this value as a null value if the regular Expand and Collapse methods run correctly.
If the XPath value needed for the Expand operation is different from the XPath value needed for the Collapse operation, use the ExtendedTreeViewConfiguration object.
ForceExpandWithDoubleClick
When set to true, the Expand or Collapse operation uses a double click.
Declaration
public bool ForceExpandWithDoubleClick { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
The default behavior for the tree is to first try to use a single click. If the node is not expanded with a click it will try to use double click. Setting this property will improve performance when dealing with deep paths.
SelectXPath
The XPath value used to find the internal tree element used to select a tree node.
Declaration
public string SelectXPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Leave this value as a null value if the regular Select operation runs correctly.