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

MapItem Properties

The base class for various map item types.
Name Description
Attributes Gets the attributes for this map item.
CanMove Gets or sets the value specifying whether the map item can moved while editing the map using the Map Editor.
ClusteredItems Returns the collection of MapItem objects that are in a cluster presented by this cluster representative.
Fill Gets or sets the color that is used to fill a map item.
HighlightedFill Gets or sets the color that specifies how the highlighted map item is painted.
HighlightedStroke Gets or sets the color that specifies how the highlighted outline is painted on a map item.
HighlightedStrokeWidth Gets or sets a value that specifies the width of the highlighted stroke on the map item.
IsHitTestVisible Gets or sets a value that defines whether or not a map item can be returned as a hit-testing result.
IsUpdateLocked Gets whether a map item has been locked for updating.
Layer Provides access to the map items layer object.
SelectedFill Gets or sets the color that specifies how the selected map item is painted.
SelectedStroke Gets or sets the color that specifies how the selected outline is painted on a map item.
SelectedStrokeWidth Gets or sets a value that specifies the width of the selected stroke on the map item.
Stroke Gets or sets the color that specifies how the map item outline is painted.
StrokeWidth Gets or sets a value that specifies the width of the stroke on the map item.
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.
Visible Gets or sets a value indicating whether or not a map item should be displayed.
See Also