What Changed
We renamed the following Context Menu API members to follow the naming convention used in .NET:
DxContextMenu.Show
=> DxContextMenu.ShowAsync
DxContextMenu.Hide
=> DxContextMenu.HideAsync
How to Update Existing Apps
If you use these members in the application code, replace Show
with ShowAsync
, and Hide
with HideAsync
:
Razor<div @oncontextmenu="((e) => ContextMenu.ShowAsync(e))" @oncontextmenu:preventDefault>
<div class="target-container context-menu-container"></div>
</div>
<DxContextMenu @ref="@ContextMenu">
...
</DxContextMenu>