New to Telerik UI for WPFStart a free 30-day trial

Represents individual mapping between a field from the InformationLayer ItemsSource and the member that should be mapped to it.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class DataMapping

Inheritance: objectDataMapping

Constructors

Initializes a new instance of the DataMapping class.

C#
public DataMapping()

Initializes a new instance of the DataMapping class.

C#
public DataMapping(string fieldName, DataMember valueMember)
Parameters:fieldNamestring

Field name in the context of the ItemsSource the property is bound to.

valueMemberDataMember

The DataMember member that should be mapped to the data field from the ItemsSource.

Properties

Gets or sets a field name in the context of the datasource the information layer is bound to.

C#
public string FieldName { get; set; }

The DataMember member that should be mapped to the data field from the ItemsSource.

C#
public DataMember ValueMember { get; set; }