Back to Devexpress

MapItemAttribute Class

wpf-devexpress-dot-xpf-dot-map-9f088276.md

latest2.1 KB
Original Source

MapItemAttribute Class

An attribute that can be applied to map items.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public class MapItemAttribute :
    MapDependencyObject,
    IMapItemAttribute,
    IOwnedElement
vb
Public Class MapItemAttribute
    Inherits MapDependencyObject
    Implements IMapItemAttribute,
               IOwnedElement

The following members return MapItemAttribute objects:

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>

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject MapItemAttribute

See Also

MapItemAttribute Members

DevExpress.Xpf.Map Namespace