Redigera

Dela via


GradientBrush Constructors

Definition

Initializes a new instance of the GradientBrush class.

Overloads

GradientBrush()

Initializes a new instance of the GradientBrush class.

GradientBrush(GradientStopCollection)

Initializes a new instance of the GradientBrush class with the specified GradientStopCollection.

GradientBrush()

Initializes a new instance of the GradientBrush class.

protected:
 GradientBrush();
protected GradientBrush ();
Protected Sub New ()

Applies to

GradientBrush(GradientStopCollection)

Initializes a new instance of the GradientBrush class with the specified GradientStopCollection.

protected:
 GradientBrush(System::Windows::Media::GradientStopCollection ^ gradientStopCollection);
protected GradientBrush (System.Windows.Media.GradientStopCollection gradientStopCollection);
new System.Windows.Media.GradientBrush : System.Windows.Media.GradientStopCollection -> System.Windows.Media.GradientBrush
Protected Sub New (gradientStopCollection As GradientStopCollection)

Parameters

gradientStopCollection
GradientStopCollection

The GradientStopCollection used to specify the location and color of the transition points in a gradient.

Applies to