A newer version of this page is available. Switch to the current version.

MapItemAttributeMapping Class

The mapping of an attribute applied to a map item.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v18.2.dll


public class MapItemAttributeMapping :
Public Class MapItemAttributeMapping
    Inherits MapDependencyObject


See the Provide Data Using Vector Item Attributes topic to learn more.


To associate additional info with vector items generated by a DataSourceAdapterBase class descendant, use MapItemAttributeMapping objects, specify their MapItemAttributeMapping.Member (the data source members' names) and MapItemAttributeMapping.Name (names of attributes which will be generated based on specified members), and add these objects to the DataSourceAdapterBase.AttributeMappings collection.

    <dxm:MapItemAttributeMapping Member="Year" Name="Year"/>
    <dxm:MapItemAttributeMapping Member="Name" Name="Name"/>
    <dxm:MapItemAttributeMapping Member="Description" Name="Description"/>
See Also