Skip to main content
A newer version of this page is available. .

MapItemAttribute.Name Property

Gets the attribute’s name.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public string Name { get; set; }

Property Value

Type Description
String

A String value that specifies the attribute’s name.

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