You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

MapItemAttribute Class

An attribute that can be applied to map items.

Namespace: DevExpress.Xpf.Map

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

Declaration

public class MapItemAttribute :
    MapDependencyObject,
    IMapItemAttribute,
    IOwnedElement

The following members accept/return MapItemAttribute objects:

Example

View Example

<dxm:VectorLayer Name="itemsLayer">
    <dxm:MapItemStorage>
        <dxm:MapPolygon  
            ToolTipPattern="{}Triangle Area: {areaValueAttrName}" 
            Points="0,0,0,40,40,0,0,0">
            <dxm:MapPolygon.Attributes>
                <dxm:MapItemAttribute Name="areaValueAttrName" 
                                      Type="{x:Type sys:Double}" 
                                      Value="80" />
            </dxm:MapPolygon.Attributes>
        </dxm:MapPolygon>
    </dxm:MapItemStorage>
</dxm:VectorLayer>
See Also