Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CustomizeLegendEventArgs.LegendName Property

.NET Framework (current version)

Gets the name of the Legend object, which can be used to determine which legend was the sender of the CustomizeLegend event.

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

public string LegendName { get; }

Property Value

Type: System.String

A string value that represents the name of the associated Legend object.

.NET Framework
Available since 4.0
Return to top
© 2017 Microsoft