GradientBrush.GradientStops Property

Gets or sets the brush's gradient stops.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

member GradientStops : GradientStopCollection with get, set
<object>
  <GradientStopCollection .../>
</object>

Property Value

Type: System.Windows.Media.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.

Identifier field

GradientStopsProperty

Metadata properties set to true

None

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft