DxContextMenu.Hidden Event
Fires when the Context Menu was hidden.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public EventCallback Hidden { get; set; }
Remarks
Handle the Hidden
event to specify the code that should be executed when the Context Menu is hidden. Use the ShowAsync and HideAsync() methods to show and hide the Context Menu.
<DxContextMenu Hidden="@OnHidden">
<Items>
<DxContextMenuItem Text="Copy"></DxContextMenuItem>
<DxContextMenuItem Text="Cut"></DxContextMenuItem>
<DxContextMenuItem Text="Remove"></DxContextMenuItem>
</Items>
</DxContextMenu>
@code {
void OnHidden() {
// Your code
}
}
See Also