Back to Devexpress

MapItemAttribute.Name Property

wpf-devexpress-dot-xpf-dot-map-dot-mapitemattribute.md

latest1.6 KB
Original Source

MapItemAttribute.Name Property

Gets the attribute’s name.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public string Name { get; set; }
vb
Public Property Name As String

Property Value

TypeDescription
String

A String value that specifies the attribute’s name.

|

Example

xaml
<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

MapItemAttribute Class

MapItemAttribute Members

DevExpress.Xpf.Map Namespace