LinearGradientBrush.LinearColors

LinearGradientBrush.LinearColors property

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

[Obsolete("Use StartColor and EndColor properties instead.")]
public Color[] LinearColors { get; set; }

Property Value

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

See Also