DxTreeView Members

A TreeView component.

Constructors

Name Description
DxTreeView()

Initializes a new instance of the DxTreeView class.

Properties

Name Description
AllowSelectNodes

Specifies whether or not nodes can be selected.

(Inherited from DxTreeViewBase)
ChildrenExpression

Specifies an expression that returns a node’s children.

(Inherited from DxTreeViewBase)
CollapseButtonIconCssClass

Specify a CSS class for the collapse button's icon.

(Inherited from DxTreeViewBase)
Data

Specifies a data source.

(Inherited from DxTreeViewBase)
Enabled

Specifies whether the DxTreeView is enabled.

(Inherited from DxTreeViewBase)
ExpandButtonIconCssClass

Specify a CSS class for the expand button's icon.

(Inherited from DxTreeViewBase)
HasChildrenExpression

A lambda expression that specifies whether the data item has child items.

(Inherited from DxTreeViewBase)
IconCssClassExpression

Specifies an expression that returns the name of a CSS class applied to a node’s icon.

(Inherited from DxTreeViewBase)
LoadChildNodesOnDemand

Specifies whether TreeView child nodes are loaded on demand.

(Inherited from DxTreeViewBase)
NameExpression

Specifies an expression that returns a node’s name.

(Inherited from DxTreeViewBase)
NavigateUrlExpression

Specifies an expression that returns a node’s target URL.

(Inherited from DxTreeViewBase)
NodeExpandCollapseAction

Specifies user actions that expand or collapse a node.

(Inherited from DxTreeViewBase)
NodeTemplate

Specifies the common template used to display all nodes.

(Inherited from DxTreeViewBase)
NodeTextTemplate

Specifies the common template to display all nodes' text.

(Inherited from DxTreeViewBase)
Nodes

Provides access to the component node collection.

(Inherited from DxTreeViewBase)
ShowExpandButtons

Specifies whether expand buttons are visible.

(Inherited from DxTreeViewBase)
TextExpression

Specifies an expression that returns a node’s text.

(Inherited from DxTreeViewBase)

Methods

Name Description
ClearSelection()

Clears node selection.

(Inherited from DxTreeViewBase)
CollapseAll()

Collapses all nodes in the DxTreeView.

(Inherited from DxTreeViewBase)
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
ExpandAll()

Expands all nodes in the DxTreeView.

(Inherited from DxTreeViewBase)
ExpandToNode(Func<ITreeViewNodeInfo, Boolean>)

Expands the nodes down to the specified node.

(Inherited from DxTreeViewBase)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetNodeExpanded(Func<ITreeViewNodeInfo, Boolean>)

Returns whether the specified node is expanded.

(Inherited from DxTreeViewBase)
GetNodeInfo(Func<ITreeViewNodeInfo, Boolean>)

Returns information about the specified node.

(Inherited from DxTreeViewBase)
GetNodesInfo(Func<ITreeViewNodeInfo, Boolean>)

Returns information about the specified nodes.

(Inherited from DxTreeViewBase)
GetSelectedNodeInfo()

Returns information about the selected node.

(Inherited from DxTreeViewBase)
GetType() Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
SelectNode(Func<ITreeViewNodeInfo, Boolean>)

Selects the specified node.

(Inherited from DxTreeViewBase)
SetNodeExpanded(Func<ITreeViewNodeInfo, Boolean>, Boolean)

Expands or collapses the specified node.

(Inherited from DxTreeViewBase)
ToString() Returns a string that represents the current object.
(Inherited from Object)

Events

Name Description
AfterCollapse

Fires after a node has been collapsed.

(Inherited from DxTreeViewBase)
AfterExpand

Fires after a node has been expanded.

(Inherited from DxTreeViewBase)
BeforeCollapse

Fires when a node is about to be collapsed and allows you to cancel the action.

(Inherited from DxTreeViewBase)
BeforeExpand

Fires when a node is about to be expanded and allows you to cancel the action.

(Inherited from DxTreeViewBase)
SelectionChanged

Fires after node selection has been changed.

(Inherited from DxTreeViewBase)
See Also