Back to Devexpress

TreeListNode.ExpandAll() Method

windowsforms-devexpress-dot-xtratreelist-dot-nodes-dot-treelistnode-abfe6cbb.md

latest3.3 KB
Original Source

TreeListNode.ExpandAll() Method

Expands all the child nodes.

Namespace : DevExpress.XtraTreeList.Nodes

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
public virtual void ExpandAll()
vb
Public Overridable Sub ExpandAll

Remarks

Use the methods below to expand and collapse tree list nodes.

The control’s BeforeExpand, AfterExpand, BeforeCollapse, and AfterCollapse events fire during expand and collapse operations. For example, you can handle the BeforeExpand event to dynamically create child nodes in unbound mode.

See Also

Expanded

ExpandAll()

CollapseAll()

ExpandToLevel(Int32)

TreeListNode Class

TreeListNode Members

DevExpress.XtraTreeList.Nodes Namespace