Skip to main content

MapCustomElement Members

The class used to draw any custom element on a map.

Constructors

Name Description
MapCustomElement() Initializes a new instance of the MapCustomElement class with default settings.

Fields

Name Description
DefaultTextAlignment static Specifies the default MapPointer.TextAlignment. Currently, the default text alignment is set to TextAlignment.MiddleRight. Inherited from MapPointer.
DefaultTextPadding static Specifies the text padding used by default. Inherited from MapPointer.

Properties

Name Description
AllowHtmlText Gets or sets whether HTML formatting is allowed in the current MapCustomElement object.
Angle Gets or sets the map item’s rotation angle in radians. Inherited from MapPointer.
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.
EnableHighlighting Indicates whether a map item can be highlighted. Inherited from MapItem.
EnableSelection Indicates whether a map item can be selected. 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 specifies 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 point relative to the bounds of the custom map element. This point coincides with the map point specified in the MapCustomElement.Location property.
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.
SvgImage Gets or sets an SVG image assigned to the map pointer. Inherited from MapPointer.
SvgImageSize Gets or sets the SVG glyph size. Inherited from MapPointer.
SvgPaletteProvider Gets or sets a provider used to apply colors depending on the map item state. Inherited from MapPointer.
Tag Gets or sets the object that contains data related to a map item. Inherited from MapItem.
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.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of MapCustomElement.
See Also