MapShapeBase Members
The base class for all shapes that a map control can draw.Fields
| Name | Description |
|---|---|
| AttributesProperty static | Identifies the MapItem.Attributes dependency property. Inherited from MapItem. |
| CanMoveProperty static | Identifies the MapItem.CanMove dependency property. Inherited from MapItem. |
| EffectProperty static | Identifies the MapShapeBase.Effect dependency property. |
| EnableHighlightingProperty static | Identifies the MapItem.EnableHighlighting dependency property. Inherited from MapItem. |
| EnableSelectionProperty static | Identifies the EnableSelection dependency property. Inherited from MapItem. |
| FillProperty static | Identifies the MapShapeBase.Fill dependency property. |
| HighlightFillProperty static | Identifies the MapShapeBase.HighlightFill dependency property. |
| HighlightStrokeProperty static | Identifies the MapShapeBase.HighlightStroke dependency property. |
| HighlightStrokeStyleProperty static | Identifies the MapShapeBase.HighlightStrokeStyle dependency property. |
| IsHitTestVisibleProperty static | Identifies the MapItem.IsHitTestVisible dependency property. Inherited from MapItem. |
| SelectedFillProperty static | Identifies the MapShapeBase.SelectedFill dependency property. |
| SelectedStrokeProperty static | Identifies the MapShapeBase.SelectedStroke dependency property. |
| SelectedStrokeStyleProperty static | Identifies the MapShapeBase.SelectedStrokeStyle dependency property. |
| StrokeProperty static | Identifies the MapShapeBase.Stroke dependency property. |
| StrokeStyleProperty static | Identifies the MapShapeBase.StrokeStyle dependency property. |
| TagProperty static | Identifies the MapItem.Tag dependency property. Inherited from MapItem. |
| TitleOptionsProperty static | Identifies the MapShapeBase.TitleOptions dependency property. |
| ToolTipPatternProperty static | Identifies the MapItem.ToolTipPattern dependency property. Inherited from MapItem. |
| VisibleProperty static | Identifies the MapItem.Visible dependency property. Inherited from MapItem. |
| ZIndexProperty static | Identifies the MapItem.ZIndex dependency property. Inherited from MapItem. |
Properties
| Name | Description |
|---|---|
| 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. |
| Effect | Gets or sets the bitmap effect applied to the shape. |
| 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. |
| Fill | Gets or sets the brush that is used to fill the map item. |
| HighlightFill | Gets or sets the brush that specifies how the highlighted map item is painted. |
| HighlightStroke | Gets or sets the color that specifies how the outline is painted on the highlighted map item. |
| HighlightStrokeStyle | Gets or sets the style that specifies how the highlighted map item outline is painted. |
| 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. |
| SelectedFill | Gets or sets the brush that specifies how the selected map item is painted. |
| SelectedStroke | Gets or sets the color that specifies how the outline is painted on the selected map item. |
| SelectedStrokeStyle | Gets or sets the style that specifies how the selected map item outline is painted. |
| Stroke | Gets or sets the brush that specifies how the map item outline is painted. |
| StrokeStyle | Gets or sets the style that specifies how the map item outline is painted. |
| Tag | Gets or sets the object that contains data related to this map item. Inherited from MapItem. |
| Title | Returns the title of the map shape. |
| TitleOptions | Provides access to the options that define the visibility, text pattern and presentation template of a shape title. |
| 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. |
Methods
| Name | Description |
|---|---|
| GetCenter() | Returns the center point of the map shape. |
Events
| Name | Description |
|---|---|
| MouseEnter | Occurs when the mouse pointer enters the map item. Inherited from MapItem. |
| MouseLeave | Occurs when the mouse pointer leaves the map item. Inherited from MapItem. |
| MouseLeftButtonDown | Occurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from MapItem. |
| MouseLeftButtonUp | Occurs when the left mouse button is released while the mouse pointer is over this element. Inherited from MapItem. |
| MouseMove | Occurs when the mouse pointer moves while over this element. Inherited from MapItem. |
| MouseRightButtonDown | Occurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from MapItem. |
| MouseRightButtonUp | Occurs when the right mouse button is released while the mouse pointer is over this element. Inherited from MapItem. |
| PropertyChanged | Occurs every time any of the MapDependencyObject class properties has changed its value. Inherited from MapDependencyObject. |
See Also