Redigera

Dela via


LegendCell.Name Property

Definition

Gets or sets the name of the legend cell.

public:
 virtual property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public override string Name { get; set; }
member this.Name : string with get, set
Public Overrides Property Name As String

Property Value

A string value that represents the text name of the legend cell.

Remarks

The name of the legend cell must be unique; otherwise an exception will be thrown.

The Name property can be used as the indexer when retrieving a LegendCell object from the LegendCellCollection.

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

Applies to