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

BeforeCollapseEventArgs Class

Provides data for the TreeList.BeforeCollapse event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v18.1.dll

Declaration

public class BeforeCollapseEventArgs :
    NodeEventArgs

Remarks

The TreeList.BeforeCollapse event occurs before collapsing a Tree List node.

The BeforeCollapseEventArgs.CanCollapse property value indicates whether a node can be collapsed.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BeforeCollapseEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
NodeEventArgs
BeforeCollapseEventArgs
See Also