Back to Devexpress

DxNavigationItemBaseComponent<TModel>.Visible Property

blazor-devexpress-dot-blazor-dot-base-dot-dxnavigationitembasecomponent-1.md

latest1.3 KB
Original Source

DxNavigationItemBaseComponent<TModel>.Visible Property

Specifies whether the navigation component is visible.

Namespace : DevExpress.Blazor.Base

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(true)]
[Parameter]
public bool Visible { get; set; }

Property Value

TypeDefaultDescription
Booleantrue

true to show the component; otherwise, false.

|

Remarks

Use the Visible property to hide a navigation component.

razor
<DxTreeView>
  <Nodes>
    <DxTreeViewNode Visible="false" Text="Form Layout" />
    <DxTreeViewNode Text="TreeView" />
    <DxTreeViewNode Text="Tabs" />
  </Nodes>
</DxTreeView>

See Also

DxNavigationItemBaseComponent<TModel> Class

DxNavigationItemBaseComponent<TModel> Members

DevExpress.Blazor.Base Namespace