TreeList.DataMember Property

Gets or sets a specific list in a data source whose data is displayed by the TreeList control.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v21.1.dll


public string DataMember { get; set; }

Property Value

Type Default Description


A string value specifying a list in a data source.


Use the DataMember property if a value specified by the TreeList.DataSource property contains multiple sources of data. For instance, if the TreeList.DataSource property value is a DataSet containing several tables, you must assign a table name to the DataMember property.

If the TreeList.DataSource property is set to a value representing a single source of data, leave the DataMember property empty.

See Also