ChartNamedElement Class
.NET Framework 4.5
Represents the base class for most chart elements. Chart elements such as series, chart areas, and legends must have unique names, and reuse the unique name generation and validation logic provided by the ChartNamedElementCollection<T> class.
System.Object
System.Windows.Forms.DataVisualization.Charting.ChartElement
System.Windows.Forms.DataVisualization.Charting.ChartNamedElement
More...
System.Windows.Forms.DataVisualization.Charting.ChartElement
System.Windows.Forms.DataVisualization.Charting.ChartNamedElement
More...
Namespace: System.Windows.Forms.DataVisualization.Charting
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
The ChartNamedElement type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ChartNamedElement() | Initializes a new instance of the ChartNamedElement class. |
![]() | ChartNamedElement(String) | Initializes a new instance of the ChartNamedElement class with the specified chart element name. |
| Name | Description | |
|---|---|---|
![]() | Name | Gets or sets the name of the chart element. |
![]() | Tag | Gets or sets an object associated with this chart element. (Inherited from ChartElement.) |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases the resources used by the ChartElement. (Inherited from ChartElement.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the ChartElement and optionally releases the managed resources. (Inherited from ChartElement.) |
![]() | Equals | Determines whether the specified Object is equal to the current ChartElement. (Inherited from ChartElement.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns a hash function for a particular type. (Inherited from ChartElement.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current Object. (Inherited from ChartElement.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
System.Object
System.Windows.Forms.DataVisualization.Charting.ChartElement
System.Windows.Forms.DataVisualization.Charting.ChartNamedElement
System.Windows.Forms.DataVisualization.Charting.Annotation
System.Windows.Forms.DataVisualization.Charting.Axis
System.Windows.Forms.DataVisualization.Charting.ChartArea
System.Windows.Forms.DataVisualization.Charting.CustomLabel
System.Windows.Forms.DataVisualization.Charting.DataPointCustomProperties
System.Windows.Forms.DataVisualization.Charting.Legend
System.Windows.Forms.DataVisualization.Charting.LegendCell
System.Windows.Forms.DataVisualization.Charting.LegendCellColumn
System.Windows.Forms.DataVisualization.Charting.LegendItem
System.Windows.Forms.DataVisualization.Charting.NamedImage
System.Windows.Forms.DataVisualization.Charting.Title
System.Windows.Forms.DataVisualization.Charting.ChartElement
System.Windows.Forms.DataVisualization.Charting.ChartNamedElement
System.Windows.Forms.DataVisualization.Charting.Annotation
System.Windows.Forms.DataVisualization.Charting.Axis
System.Windows.Forms.DataVisualization.Charting.ChartArea
System.Windows.Forms.DataVisualization.Charting.CustomLabel
System.Windows.Forms.DataVisualization.Charting.DataPointCustomProperties
System.Windows.Forms.DataVisualization.Charting.Legend
System.Windows.Forms.DataVisualization.Charting.LegendCell
System.Windows.Forms.DataVisualization.Charting.LegendCellColumn
System.Windows.Forms.DataVisualization.Charting.LegendItem
System.Windows.Forms.DataVisualization.Charting.NamedImage
System.Windows.Forms.DataVisualization.Charting.Title
