Skip to main content

DxContextMenu.Enabled Property

Specifies whether the Context Menu is enabled.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(true)]
[Parameter]
public bool Enabled { get; set; }

Property Value

Type Default Description
Boolean true

false to disable the component; otherwise, true.

Remarks

Set the Enabled property to false to disable the Context Menu:

<DxContextMenu @ref="@ContextMenu" Enabled="false">
    <Items>
        @* ... *@
    </Items>
</DxContextMenu>

Disabled navigation component

To disable other navigation components, use the Enabled property.

See Also