Skip to main content

DataLayoutControl.DataMember Property

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

Namespace: DevExpress.XtraDataLayout

Assembly: DevExpress.XtraLayout.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

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.

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