Back to Devexpress

DxTreeView.CheckAllVisible Property

blazor-devexpress-dot-blazor-dot-dxtreeview-d3f16326.md

latest2.0 KB
Original Source

DxTreeView.CheckAllVisible Property

Specifies whether the Check All box is visible.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(false)]
[Parameter]
public bool CheckAllVisible { get; set; }

Property Value

TypeDefaultDescription
Booleanfalse

true to display the CheckBox; otherwise, false.

|

Remarks

You can check all TreeView nodes as follows:

  • Call the CheckAll() method
  • Check the Check All box in the UI

Call the ClearCheck() method to uncheck all nodes.

Note

The following actions change the check state of all nodes, even those that do not meet the applied filter criteria:

The following code snippet displays the Check All editor:

razor
<DxTreeView Data="@Data"
            CheckMode="TreeViewCheckMode.Multiple"
            CheckAllVisible="true">
    <DataMappings>
        <DxTreeViewDataMapping Text="Name"
                               Key="Id"
                               ParentKey="CategoryId" />
    </DataMappings>
</DxTreeView>

Use the CheckAllText property to specify custom text for the editor.

See Also

DxTreeView Class

DxTreeView Members

DevExpress.Blazor Namespace