Skip to main content
A newer version of this page is available. .

BeforeExpandEventArgs.CanExpand Property

Gets or sets whether a Tree List node can be expanded.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

public bool CanExpand { get; set; }

Property Value

Type Description
Boolean

true if a Tree List node can be expanded; otherwise, false.

Remarks

If the CanExpand property is set to false, a node is not allowed to be expanded, and its child nodes will not be visible. The CanExpand property doesn’t affect the appearance of the node’s expand button.

See Also