Skip to main content

MapLine Members

The class used to draw a line on a map.

Constructors

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

Fields

Name Description
FillProperty static Identifies the MapShape.Fill dependency property. Inherited from MapShape.
IsHitTestVisibleProperty static Identifies the MapItem.IsHitTestVisible dependency property. Inherited from MapItem.
Point1Property static Identifies the MapLine.Point1 dependency property.
Point2Property static Identifies the MapLine.Point2 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.
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.
Point1 Gets or sets the first coordinate of a line.
Point2 Gets or sets the second coordinate of a line.
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