DxTreeView.CheckNodeByClick Property
Specifies whether users can click nodes to check and uncheck them.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(false)]
[Parameter]
public bool CheckNodeByClick { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
When you enable node checking, you can set the CheckNodeByClick
property to true
to check nodes by mouse clicks.
<DxTreeView @ref="MyTreeView" Data="@Data"
CheckMode="TreeViewCheckMode.Recursive"
CheckNodeByClick="true">
<DataMappings>
<DxTreeViewDataMapping Text="Name"
Key="Id"
ParentKey="CategoryId" />
</DataMappings>
</DxTreeView>
See Also