A newer version of this page is available. Switch to the current version.

MapCustomElement Properties

The class used to draw any custom element on a map.
Name Description
AllowHtmlText Gets or sets whether HTML formatting is allowed in the current MapCustomElement object.
Attributes Gets the attributes for this map item. Inherited from MapItem.
BackgroundDrawingMode Gets or sets the states on which the pointer background should be drawn. Inherited from MapPointer.
CanMove Gets or sets the value specifying whether the map item can moved while editing the map using the Map Editor. Inherited from MapItem.
ClusteredItems Returns the collection of MapItem objects that are in a cluster presented by this cluster representative. Inherited from MapItem.
Fill Gets or sets the color that is used to fill a map item. Inherited from MapItem.
Font Gets or sets a font used to paint a map pointer’s text. Inherited from MapPointer.
HighlightedFill Gets or sets the color that specifies how the highlighted map item is painted. Inherited from MapItem.
HighlightedStroke Overrides the MapItem.HighlightedStroke property to hide it.
HighlightedStrokeWidth Overrides the MapItem.HighlightedStrokeWidth property to hide it.
Image Gets or sets an image that is assigned to a map pointer. Inherited from MapPointer.
ImageIndex Gets or sets the image index value of an image assigned to the map pointer. Inherited from MapPointer.
ImageUri Gets or sets a Uri that defines the location of an Image file with vector data. Inherited from MapPointer.
IsHitTestVisible Gets or sets a value that defines whether or not a map item can be returned as a hit-testing result. Inherited from MapItem.
IsUpdateLocked Gets whether a map item has been locked for updating. Inherited from MapItem.
Layer Provides access to the map items layer object. Inherited from MapItem.
Location Gets or sets the location of a MapPointer object. Inherited from MapPointer.
Padding Specifies the internal space between the map custom element’s content and its edge, in pixels.
RenderOrigin Gets or sets the center point of any possible render, relative to the bounds of the map custom element.
SelectedFill Gets or sets the color that specifies how the selected map item is painted. Inherited from MapItem.
SelectedStroke Overrides the MapItem.SelectedStroke property to hide it.
SelectedStrokeWidth Overrides the MapItem.SelectedStrokeWidth property to hide it.
Stroke Overrides the MapItem.Stroke property to hide it.
StrokeWidth Overrides the MapItem.StrokeWidth property to hide it.
Text Gets or sets the text for a map pointer. Inherited from MapPointer.
TextAlignment Gets or sets the alignment of the text in a map pointer. Inherited from MapPointer.
TextColor Gets or sets the color of a text map pointer. Inherited from MapPointer.
TextGlowColor Gets or sets the glow color of a text for a map custom element.
TextPadding Gets or sets the padding for text shown for MapPointer class descendants. Inherited from MapPointer.
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.
Transparency Gets or sets the transparency value for the MapPointer. Inherited from MapPointer.
UseAnimation Gets or sets whether to play the animation when a location of the map pointer is changed on a map. Inherited from MapPointer.
Visible Gets or sets a value indicating whether or not a map item should be displayed. Inherited from MapItem.
See Also