Skip to main content
All docs
V23.2

DxNavigationControlComponent<TModel>.Enabled Property

Specifies whether Menu is enabled.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v23.2.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 Menu:

<DxMenu Enabled="false">
    <Items>
        <DxMenuItem Text="Align Left" />
        <DxMenuItem Text="Align Center" />
        <DxMenuItem Text="Align Right" />
    </Items>
</DxMenu>

Disabled Menu

To hide the component, set the Visible property to false.

See Also