ChartElement 类

定义

所有图表元素的基类。Base class for all the chart elements. ChartElement 类表示图表元素层次结构的最基本的元素。The ChartElement class represents the most basic element of the chart element hierarchy.

public ref class ChartElement abstract : IDisposable
public abstract class ChartElement : IDisposable
type ChartElement = class
    interface IDisposable
Public MustInherit Class ChartElement
Implements IDisposable
继承
ChartElement
派生
实现

构造函数

ChartElement()

初始化 ChartElement 类的新实例。Initializes a new instance of the ChartElement class.

属性

Tag

获取或设置与此图表元素关联的对象。Gets or sets an object associated with this chart element.

方法

Dispose()

释放由 ChartElement 占用的资源。Releases the resources used by the ChartElement.

Dispose(Boolean)

释放由 ChartElement 占用的非托管资源,还可以另外再释放托管资源。Releases the unmanaged resources used by the ChartElement and optionally releases the managed resources.

Equals(Object)

确定指定的 Object 是否等同于当前的 ChartElementDetermines whether the specified Object is equal to the current ChartElement.

GetHashCode()

返回特定类型的哈希算法。Returns a hash function for a particular type.

GetType()

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

(继承自 Object)
MemberwiseClone()

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

(继承自 Object)
ToString()

返回表示当前 Object 的字符串。Returns a string that represents the current Object.

适用于