Class
DataMapping

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:

cs-api-definition
public class DataMapping

Inheritance: objectDataMapping

Constructors

DataMapping()

Initializes a new instance of the DataMapping class.

Declaration

cs-api-definition
public DataMapping()

DataMapping(string, DataMember)

Initializes a new instance of the DataMapping class.

Declaration

cs-api-definition
public DataMapping(string fieldName, DataMember valueMember)

Parameters

fieldName

string

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

valueMember

DataMember

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

Properties

FieldName

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

Declaration

cs-api-definition
public string FieldName { get; set; }

Property Value

string

ValueMember

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

Declaration

cs-api-definition
public DataMember ValueMember { get; set; }

Property Value

DataMember