The requested page is not available for the requested platform. You are viewing the content for Default platform.

MapRectangle Members

The class used to draw a rectangle on a map.

Constructors

Name Description
MapRectangle()

Initializes a new instance of the MapRectangle class with default settings.

Fields

Name Description
FillProperty static

Identifies the MapShape.Fill dependency property.

(Inherited from MapShape)
HeightProperty static

Identifies the MapRectangle.Height dependency property.

IsHitTestVisibleProperty static

Identifies the MapItem.IsHitTestVisible dependency property.

(Inherited from MapItem)
LocationProperty static

Identifies the MapRectangle.Location 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)
WidthProperty static

Identifies the MapRectangle.Width dependency property.

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)
Height

Gets or sets the height of the rectangle.

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)
Location

Gets or sets a location of the rectangle on a map.

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)
Width

Gets or sets the width of the rectangle.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(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() 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