Back to Devexpress

DxTreeView.Visible Property

blazor-devexpress-dot-blazor-dot-dxtreeview-0a923a4a.md

latest1.2 KB
Original Source

DxTreeView.Visible Property

Specifies the TreeView component’s visibility.

Namespace : DevExpress.Blazor

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 display the component; false to hide the component.

|

Remarks

Set the Visible property to false to hide a TreeView component:

razor
<DxTreeView Visible="false">
  <Nodes>
    <DxTreeViewNode Text="Overview" NavigateUrl="https://demos.devexpress.com/blazor/" />
  </Nodes>
</DxTreeView>

To make the TreeView non-interactive but still visible, set the Enabled property to false.

See Also

DxTreeView Class

DxTreeView Members

DevExpress.Blazor Namespace