ChartArea.Name Property

.NET Framework (current version)
 

Gets or sets the unique name of a ChartArea object.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

<BindableAttribute(True)>
Public Overrides Property Name As String

Property Value

Type: System.String

A string value that represents the unique name of a ChartArea object.

The name of a ChartArea object must be unique, otherwise an exception will be thrown.

This property can be used as the indexer when retrieving a ChartArea object from the ChartAreaCollection object.

If you set this property to a zero-length string. an exception will be thrown.

.NET Framework
Available since 4.0
Return to top
Show: