LinearGradientBrush.Blend Property


Gets or sets a Blend that specifies positions and factors that define a custom falloff for the gradient.

 property System::Drawing::Drawing2D::Blend ^ Blend { System::Drawing::Drawing2D::Blend ^ get(); void set(System::Drawing::Drawing2D::Blend ^ value); };
public System.Drawing.Drawing2D.Blend Blend { get; set; }
member this.Blend : System.Drawing.Drawing2D.Blend with get, set
Public Property Blend As Blend

Property Value

A Blend that represents a custom falloff for the gradient.


A Blend contains corresponding arrays of blend factors and positions. The blend factors specify the percentages of the starting color and ending color to use at the corresponding position. The positions are given as a percentage of distance along the gradient line.

Applies to