MapItemAttribute Class
An attribute that can be applied to map items.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v19.2.dll
Declaration
Related API Members
The following members return MapItemAttribute objects:
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-create-a-map-item-attribute-and-show-its-value-in-the-map-tooltip-e5114.
<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>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the MapItemAttribute class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
Inheritance
See Also