GradientBrush.GradientStops property

Applies to Windows and Windows Phone

Gets or sets the brush's gradient stops.

Syntax


public GradientStopCollection GradientStops { get; set; }


<gradientBrush>
  oneOrMoreGradientStops
</gradientBrush>

XAML Values

oneOrMoreGradientStops

One or more GradientStop objects, declared using object element syntax.

Property value

Type: GradientStopCollection

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media
Windows::UI::Xaml::Media [C++]

Metadata

Windows.winmd

See also

GradientBrush

 

 

Show:
© 2014 Microsoft