CustomizeMapAreasEventArgs 类

定义

Chart 控件的 CustomizeMapAreas 事件提供数据。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
继承
CustomizeMapAreasEventArgs

注解

此类为CustomizeMapAreas图表控件的事件提供数据。This class provides data for the CustomizeMapAreas event of the Chart control.

此类的唯一属性是MapAreaItemss 属性, 它使开发人员能够:The only property of this class is the MapAreaItemss property, which enables developers to:

  • 删除或自定义已为图表对象创建的映射区;具有DataPointSeriesLegendItem 的、StripLine或属性的任何、或对象将具有关联的映射区对象。ToolTip Url MapAreaAttributesDelete 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 类的新实例。Initializes a new instance of the CustomizeMapAreasEventArgs class with the specified map areas collection.

属性

MapAreaItems

获取或设置 MapAreasCollection 对象。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)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于