ChartArea.Name Property

Definition

Gets or sets the unique name of a ChartArea object.

C#
[System.ComponentModel.Bindable(true)]
public override string Name { get; set; }

Property Value

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

Attributes

Remarks

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.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1