Skip to main content

MapCustomElement Properties

The class used to draw any custom element on a map.
Name Description
ActualContent Gets or sets the actual content of the MapCustomElement.
Attributes Gets the attributes for this map item. Inherited from MapItem.
Brush Returns the brush used to draw a map item. Inherited from MapItem.
CanMove Gets or sets the value that specifies whether a user can move item using the Map Editor’s Transform mode. Inherited from MapItem.
ClusteredItems Returns the collection of MapItem objects that are in a cluster presented by this cluster representative. Inherited from MapItem.
Content Gets or sets the custom element’s content. This is a dependency property.
ContentTemplate Gets or sets the template that defines the presentation of the element’s content, represented by the MapCustomElement.Content property. This is a dependency property.
EnableHighlighting Gets or sets the value indicating whether the map item can be highlighted. This is a dependency property. Inherited from MapItem.
EnableSelection Indicates whether a map item can be selected. Inherited from MapItem.
IsHitTestVisible Gets or sets a value that defines whether a map item can be returned as a hit-testing result. Inherited from MapItem.
Layer Returns the layer containing this map item. Inherited from MapItem.
Location Gets or sets a location of the custom element on a map.
Tag Gets or sets the object that contains data related to this map item. Inherited from MapItem.
Template Specifies the template that defines the appearance of the map custom element.
ToolTipPattern Gets or sets a string which represents the pattern specifying the text to be displayed within a tooltip that appears for a map item. Inherited from MapItem.
Visible Gets or sets a value indicating whether a map item should be displayed. Inherited from MapItem.
ZIndex Gets or sets a value that is the order on the Z-plane in which a map layer element (e.g., image tiles layer or vector layer) appears. Inherited from MapItem.
See Also