Skip to main content
All docs
V24.2

DxNavigationControlComponent<TModel>.Enabled Property

Specifies whether the navigation component is enabled.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v24.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 the navigation component:

<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