A newer version of this page is available. Switch to the current version.

TreeListRowData.IsChecked Property

Gets or sets whether the treelist row is checked.

Namespace: DevExpress.Xpf.Grid.TreeList

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

Declaration

public bool? IsChecked { get; set; }

Property Value

Type Description
Nullable<Boolean>

A Nullable<T><Boolean,> value that specifies whether or not the treelist row is checked.

Remarks

When the TreeListView.AllowRecursiveNodeChecking option is enabled, the IsChecked property returns the following values:

  • true - if all the child nodes are checked
  • false - if none of child nodes are checked
  • null - if the current node contains both checked and unchecked children.

Note, that in this case, if you use the TreeListView.CheckBoxFieldName property to update corresponding property in your data items, this property should be of the Nullable<T><Boolean,> data type.

To learn more, see Checking Nodes.

See Also