Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LegendImageStyle Enumeration
Collapse the table of content
Expand the table of content

LegendImageStyle Enumeration

.NET Framework 4.6 and 4.5

Specifies the style to apply to the symbol for a legend item.

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

public enum LegendImageStyle

Member nameDescription
LineThe symbol will be a line.
MarkerThe symbol will be a marker.
RectangleThe symbol will be a rectangle.

The LegendImageStyle enumeration represents the style that is used for a legend item, and is applied to the symbol for that item.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft