Back to Devexpress

TreeListView.ImmediateUpdateCheckBoxState Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-51e6825e.md

latest2.5 KB
Original Source

TreeListView.ImmediateUpdateCheckBoxState Property

Gets or sets whether the focused row’s check box value is posted immediately.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Browsable(false)]
public bool ImmediateUpdateCheckBoxState { get; set; }
vb
<Browsable(False)>
Public Property ImmediateUpdateCheckBoxState As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

If true , the focused row’s check box value is posted immediately. If false , the focused row’s check box value is posted after changing focus.

|

Remarks

The focused row’s check box value is not posted until you focus another row. To make the TableView post check box values immediately, set the ImmediateUpdateCheckBoxState property to true.

Checking Nodes in Code

Use the following methods to check/uncheck nodes in code:

MethodDescription
TreeListView.CheckAllNodesChecks all nodes.
TreeListView.UncheckAllNodesUnchecks all nodes.
TreeListNode.IsCheckedChecks/unchecks the node.

When a node’s check state is changed, the TreeList View raises the TreeListView.NodeCheckStateChanged event. Use the TreeListNode.IsChecked property to identify whether a node is checked.

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace