DrawMapItemEventArgs Members
Provides data for the MapControl.DrawMapItem event.Constructors
| Name | Description |
|---|---|
| DrawMapItemEventArgs(MapItem, MapItemsLayerBase) | Initializes a new instance of the DrawMapItemEventArgs class with the specified map item and layer. |
| DrawMapItemEventArgs(MapItem) | Initializes a new instance of the DrawMapItemEventArgs class with the specified map item. |
Fields
| Name | Description |
|---|---|
| Empty static | Provides a value to use with events that do not have event data. Inherited from EventArgs. |
Properties
| Name | Description |
|---|---|
| Fill | Gets or sets the color that is used to fill a map item when the MapControl.DrawMapItem event is fired. |
| IsHighlighted | Gets a value that indicates whether a map item is highlighted. |
| IsSelected | Gets a value that indicates whether a map item is selected. |
| 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. |
| Stroke | Gets or sets the Color that specifies how the map item outline is painted. |
| StrokeWidth | Gets or sets a value that specifies the width of the stroke on the current map item. |
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