MapPolygon Members
The class used to draw a polygon on a map.Constructors
| Name | Description |
|---|---|
| MapPolygon() | Initializes a new instance of the MapPolygon class with default settings. |
Fields
| Name | Description |
|---|---|
| FillProperty static | Identifies the MapShape.Fill dependency property. Inherited from MapShape. |
| FillRuleProperty static | Identifies the MapPolygon.FillRule dependency property. |
| IsHitTestVisibleProperty static | Identifies the MapItem.IsHitTestVisible dependency property. Inherited from MapItem. |
| PointsProperty static | Identifies the MapPolygon.Points dependency property. |
| StrokeProperty static | Identifies the MapShape.Stroke dependency property. Inherited from MapShape. |
| StrokeStyleProperty static | Identifies the MapShape.StrokeStyle dependency property. Inherited from MapShape. |
| ToolTipPatternProperty static | Identifies the MapItem.ToolTipPattern dependency property. Inherited from MapItem. |
| VisibleProperty static | Identifies the MapItem.Visible dependency property. Inherited from MapItem. |
Properties
| Name | Description |
|---|---|
| Attributes | Gets the attributes for this map item. Inherited from MapItem. |
| Fill | Gets or sets the brush that specifies how the shape’s interior is painted. Inherited from MapShape. |
| FillRule | Gets or sets a value that specifies how the interior fill of the shape is determined. |
| 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. |
| Layer | Provides access to the map items layer object. Inherited from MapItem. |
| Points | Gets or sets a collection that contains the vertex points of the polygon. |
| Stroke | Gets or sets the Brush that specifies how the shape outline is painted. Inherited from MapShape. |
| StrokeStyle | Gets or sets the settings of the shape outline. Inherited from MapShape. |
| 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 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 a string that represents the current object. Inherited from Object. |
Events
| Name | Description |
|---|---|
| PropertyChanged | Occurs every time any of the MapDependencyObject class properties has changed its value. Inherited from MapDependencyObject. |
See Also