LinearGradientBrush::LinearColors Property

 

Gets or sets the starting and ending colors of the gradient.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public:
property array<Color>^ LinearColors {
	array<Color>^ get();
	void set(array<Color>^ value);
}

Property Value

Type: array<System.Drawing::Color>^

An array of two Color structures that represents the starting and ending colors of the gradient.

.NET Framework
Available since 1.1
Return to top
Show: