MapItemAttributeCollection Class

A collection of attributes for an individual map item.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v20.1.dll


public class MapItemAttributeCollection :
Public Class MapItemAttributeCollection
    Inherits MapDependencyObjectCollection(Of MapItemAttribute)

Related API Members

The following members accept/return MapItemAttributeCollection objects:


An object of this class is accepted using the MapItem.Attributes property.


To associate additional information to a vector item, use the vector item atributes. To do this, create an MapItemAttribute object, specify its MapItemAttribute.Name, MapItemAttribute.Value and optionally, the MapItemAttribute.Type. Add the object to the MapItem.Attributes collection. After that, it is possible to use these attributes, for example, to display in the item's title.

<dxm:MapDot Location="51.507222, -0.1275" Size="10" Fill="Red" 
            TitleOptions="{StaticResource titleOptions}">
        <dxm:MapItemAttribute Name="Name" Value="London"/>
See Also