Skip to main content
Tab

TreeViewNodeCancelEventArgs Class

Provides data for the ASPxTreeView.ExpandedChanging event.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class TreeViewNodeCancelEventArgs :
    TreeViewNodeEventArgs

Remarks

The ASPxTreeView.ExpandedChanging event is raised when collapsing or expanding a node. The TreeViewNodeCancelEventArgs class provides the TreeViewNodeCancelEventArgs.Cancel property, which allows the expand/collapse operation to be canceled.

Instances of the TreeViewNodeCancelEventArgs class are automatically created, initialized and passed to corresponding event handlers.

See Also