DxTreeViewBase.AfterCollapse Event

Fires after a node has been collapsed.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.dll

Declaration

[Parameter]
public Action<TreeViewNodeEventArgs> AfterCollapse { get; set; }

Parameters

Type Description
TreeViewNodeEventArgs

Remarks

The AfterCollapse event fires after a node has been collapsed. The following code sample illustrates how to handle the AfterCollapse event.

<DxTreeView AfterCollapse="@AfterCollapse">
    ...
</DxTreeView>

@code  {
    void AfterCollapse(TreeViewNodeEventArgs e) {
        // your code
    }
}
See Also