Redigera

Dela via


GradientBrush.GradientStops Property

Definition

Gets or sets the brush's gradient stops.

public:
 property System::Windows::Media::GradientStopCollection ^ GradientStops { System::Windows::Media::GradientStopCollection ^ get(); void set(System::Windows::Media::GradientStopCollection ^ value); };
public System.Windows.Media.GradientStopCollection GradientStops { get; set; }
member this.GradientStops : System.Windows.Media.GradientStopCollection with get, set
Public Property GradientStops As GradientStopCollection

Property Value

A collection of the GradientStop objects associated with the brush, each of which specifies a color and an offset along the brush's gradient axis. The default is an empty GradientStopCollection.

Remarks

Dependency Property Information

Identifier field GradientStopsProperty
Metadata properties set to true None

Applies to