DxNavigationControlComponent<TModel>.Enabled Property
Specifies whether Menu is enabled.
Namespace: DevExpress.Blazor.Base
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 |
|
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>
To hide the component, set the Visible property to false
.
See Also