DxTreeView.AfterExpand Event

Fires after a node has been expanded.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

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

Event Data

The AfterExpand event's data class is TreeViewNodeEventArgs. The following properties provide information specific to this event:

Property Description
CausedByAPI Specifies whether an event was triggered by a user action or programmatically.
NodeInfo Returns information about a node related to the event.

Remarks

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

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

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