Skip to main content

MapItem Members

The base class for different map items.

Constructors

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

Fields

Name Description
IsHitTestVisibleProperty static Identifies the MapItem.IsHitTestVisible dependency property.
ToolTipPatternProperty static Identifies the MapItem.ToolTipPattern dependency property.
VisibleProperty static Identifies the MapItem.Visible dependency property.

Properties

Name Description
Attributes Gets the attributes for this map item.
IsHitTestVisible Gets or sets a value that defines whether or not a map item can be returned as a hit-testing result.
Layer Provides access to the map items layer object.
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.

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