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 |
|
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>
To hide the component, set the Visible property to false
.
See Also