Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxTreeViewNode.Checked Property

Specifies whether the node is checked.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(false)]
[Parameter]
public bool? Checked { get; set; }

#Property Value

Type Default Description
Nullable<Boolean> false

true to check the node; otherwise, false.

#Remarks

Use the Checked property to check or uncheck the node in the markup:

Razor
<DxTreeView CheckMode="TreeViewCheckMode.Multiple">
    <Nodes>
        <DxTreeViewNode Text="Overview" />
        <DxTreeViewNode Text="Data Editors">
            <Nodes>
                <DxTreeViewNode Text="Combobox" />
                <DxTreeViewNode Text="Spin Edit" />
            </Nodes>
        </DxTreeViewNode>
        <DxTreeViewNode Text="Form Layout" />
        <DxTreeViewNode Text="TreeView" Checked="true" />
    </Nodes>
</DxTreeView>

Checked node

See Also