ChartPaintEventArgs 类

定义

Chart 控件的绘制事件提供数据。Provides data for the paint events of the Chart control.

public ref class ChartPaintEventArgs : EventArgs
public class ChartPaintEventArgs : EventArgs
type ChartPaintEventArgs = class
    inherit EventArgs
Public Class ChartPaintEventArgs
Inherits EventArgs
继承
ChartPaintEventArgs

注解

对象用于Chart在控件PrePaint和控件的事件期间设置图表属性。 PostPaint ChartPaintEventArgsA ChartPaintEventArgs object is used to set chart properties during the PostPaint and PrePaint events of the Chart control.

属性允许您定位图表元素, ChartGraphics属性有助于 gdi + 绘图操作。 PositionThe Position property allows you to position chart elements, and the ChartGraphics property facilitates GDI+ drawing operations.

属性允许开发人员访问根Chart对象, 该对象可用于设置图表的各种属性。 ChartThe Chart property gives the developer access to the root Chart object, which can be used to set various properties of the chart.

属性

Chart

获取根 Chart 对象。Gets the root Chart object.

ChartElement

为此事件获取一个对象。Gets an object for the event.

ChartGraphics

获取 ChartGraphics 对象。Gets a ChartGraphics object.

Position

获取一个 ElementPosition 对象。Gets an ElementPosition object.

方法

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)

适用于