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

TreeListView.CheckBoxFieldName Property

Gets or sets the name of a field in a data source to which check boxes embedded into nodes are bound.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public string CheckBoxFieldName { get; set; }

Property Value

Type Description
String

A String value that specifies the field in a data source.

Remarks

When the TreeListView.AllowRecursiveNodeChecking option is enabled, the TreeListRowData.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 CheckBoxFieldName property to update corresponding property in your data items, this property should be of the Nullable<Boolean> data type.

NOTE

Starting from v18.2, the CheckBoxFieldName property supports complex paths to nested properties (e.g., “Order.IsProcessed”).

To learn more, see Checking Nodes.

See Also