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

Declaration

[DefaultValue("")]
[DXCategory("Data")]
public string DataMember { get; set; }
<DefaultValue("")>
<DXCategory("Data")>
Public Property DataMember As String

Property Value

Type Default Description
String

String.Empty

A string value representing the data source member.

Remarks

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