CustomizeMapAreasEventArgs CustomizeMapAreasEventArgs CustomizeMapAreasEventArgs CustomizeMapAreasEventArgs Class


Provides data for the CustomizeMapAreas event of the Chart control.

public ref class CustomizeMapAreasEventArgs : EventArgs
public class CustomizeMapAreasEventArgs : EventArgs
type CustomizeMapAreasEventArgs = class
    inherit EventArgs
Public Class CustomizeMapAreasEventArgs
Inherits EventArgs


This class provides data for the CustomizeMapAreas event of the Chart control.

The only property of this class is the MapAreaItemss property, which enables developers to:

  • Delete or customize map areas that have been created for a chart object; any DataPoint, Series, LegendItem or StripLine object that has a non-empty Url, MapAreaAttributes or ToolTip property will have an associated map area object.

  • Add custom map areas that have a user-defined shape and coordinates.


CustomizeMapAreasEventArgs(MapAreasCollection) CustomizeMapAreasEventArgs(MapAreasCollection) CustomizeMapAreasEventArgs(MapAreasCollection) CustomizeMapAreasEventArgs(MapAreasCollection)

Initializes a new instance of the CustomizeMapAreasEventArgs class with the specified map areas collection.


MapAreaItems MapAreaItems MapAreaItems MapAreaItems

Gets or sets a MapAreasCollection object. Can be used to remove or modify map areas that correspond to a chart object, or to add custom map areas.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to