Skip to main content

DxNavigationControlComponent<JSProxyType, TModel>.Enabled Property

Specifies whether the navigation component 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 the navigation component:

<div style="width: 250px">
    <DxTreeView Enabled="false">
      <Nodes>
        @* ... *@
      </Nodes>
    </DxTreeView>
</div>

Disabled navigation component

This property does not apply to the Context Menu. Use the DxContextMenu.Visible property instead.

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

See Also