DataLayoutControl.DataMember Property

Gets or sets the data source member which supplies data to the DataLayoutControl's editors.

Namespace: DevExpress.XtraDataLayout

Assembly: DevExpress.XtraLayout.v20.1.dll


public string DataMember { get; set; }
Public Property DataMember As String

Property Value

Type Default Description


A string value representing the data source member.


This property is used when the DataLayoutControl.DataSource property refers to a dataset which contains several data tables. In this instance, the DataMember property must specify the desired table's name.

You can also use the DataMember to bind the Data Layout Control to a collection property of an object assigned to the DataLayoutControl.DataSource property.

See Also