Table of Contents

Class TreeViewConfiguration

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

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.

public class TreeViewConfiguration
Inheritance
TreeViewConfiguration
Derived
Inherited Members

Constructors

TreeViewConfiguration()

public TreeViewConfiguration()

Properties

ExpandXPath

The XPath value used to find the internal tree element used to expand and collapse a tree node.

public virtual string ExpandXPath { get; set; }

Property Value

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.

public bool ForceExpandWithDoubleClick { get; set; }

Property Value

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.

public string SelectXPath { get; set; }

Property Value

string

Remarks

Leave this value as a null value if the regular Select operation runs correctly.