Skip to main content
A newer version of this page is available. .

DataLayoutControl.DataMember Property

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

Namespace: DevExpress.XtraDataLayout

Assembly: DevExpress.XtraLayout.v19.1.dll

Declaration

[DefaultValue("")]
[DXCategory("Data")]
public string DataMember { get; set; }

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.

If the DataLayoutControl.DataSource property refers to a data table, data view or any custom created data source object, the DataMember property should not be used.

See Also