Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataLayoutControl.DataMember Property

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

Namespace: DevExpress.XtraDataLayout

Assembly: DevExpress.XtraLayout.v24.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