Legend::InterlacedRows Property

.NET Framework (current version)
 

Gets or sets a flag that indicates whether legend rows will be drawn with interlaced background color.

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

public:
property bool InterlacedRows {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if legend rows will be drawn with interlaced background color; otherwise, false.

When the legend contains many entries, the InterlacedRows property can be used to improve readability. When this property is set to true, the legend will display a background color for the rows that are interlaced, which can be set using the InterlacedRowsColor property.

.NET Framework
Available since 4.0
Return to top
Show: