Skip to main content
A newer version of this page is available. .

DrawMapShapeEventArgs Members

Provides data for the MapControl.DrawMapItem event if the MapShape class descendant should be drawn.

Constructors

Name Description
DrawMapShapeEventArgs(MapShape, MapItemsLayerBase) Initializes a new instance of the DrawMapShapeEventArgs class with the specified map pointer and layer.
DrawMapShapeEventArgs(MapShape) Initializes a new instance of the DrawMapShapeEventArgs class with the specified settings.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
ActualTitle Gets or sets the title of a map shape used to draw the map shape.
Fill Gets or sets the color that is used to fill a map item when the MapControl.DrawMapItem event is fired. Inherited from DrawMapItemEventArgs.
IsHighlighted Gets a value that indicates whether a map item is highlighted. Inherited from DrawMapItemEventArgs.
IsSelected Gets a value that indicates whether a map item is selected. Inherited from DrawMapItemEventArgs.
Item Gets a map item to be represented in the map control. Inherited from MapItemEventArgs.
Layer Gets an object representing a map items layer when handling the MapControl.DrawMapItem event. Inherited from DrawMapItemEventArgs.
Stroke Gets or sets the Color that specifies how the map item outline is painted. Inherited from DrawMapItemEventArgs.
StrokeWidth Gets or sets a value that specifies the width of the stroke on the current map item. Inherited from DrawMapItemEventArgs.
TitleColor Gets or sets the color used to draw the map shape’s title.
TitleGlowColor Gets or sets the glow color of a map shape used to draw the shape.

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.
See Also