CustomizeMapAreasEventArgs Class
TOC
Collapse the table of content
Expand the table of content

CustomizeMapAreasEventArgs Class

.NET Framework (current version)
 

Provides data for the CustomizeMapAreas event of the Chart control.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

System.Object
  System.EventArgs
    System.Web.UI.DataVisualization.Charting.CustomizeMapAreasEventArgs

public class CustomizeMapAreasEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodCustomizeMapAreasEventArgs(MapAreasCollection)

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

NameDescription
System_CAPS_pubpropertyMapAreaItems

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.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft