DxNavigationControlComponent<TModel>.Visible Property
Specifies visibility of Menu.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(true)]
[Parameter]
public virtual bool Visible { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
Set the Visible
property to false
to hide Menu:
<DxMenu Visible="@IsVisible">
<Items>
<DxMenuItem Text="Align Left" />
<DxMenuItem Text="Align Center" />
<DxMenuItem Text="Align Right" />
</Items>
</DxMenu>
@code {
bool IsVisible = false;
}
To disable the component, set the Enabled property to false
.
See Also