ChartPaintEventArgs 类
定义
public ref class ChartPaintEventArgs : EventArgs
public class ChartPaintEventArgs : EventArgs
type ChartPaintEventArgs = class
inherit EventArgs
Public Class ChartPaintEventArgs
Inherits EventArgs
- 继承
注解
ChartPaintEventArgs对象用于在 PostPaint 控件和控件的事件期间设置图表属性 PrePaint Chart 。A ChartPaintEventArgs object is used to set chart properties during the PostPaint and PrePaint events of the Chart control.
Position属性允许您定位图表元素, ChartGraphics 属性有助于 gdi + 绘图操作。The Position property allows you to position chart elements, and the ChartGraphics property facilitates GDI+ drawing operations.
Chart属性允许开发人员访问根 Chart 对象,该对象可用于设置图表的各种属性。The Chart property gives the developer access to the root Chart object, which can be used to set various properties of the chart.
属性
| Chart | |
| 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() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |