July 28, 2014
Gets or sets the brush's gradient stops.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
Dependency property identifier field: GradientStopsProperty
The XAML syntax for is an example of an implicit collection syntax, where you can omit the GradientStopCollection object element, as well as the brushobject.GradientStops property element. Instead, you generally include one or more GradientStop object elements as child elements of a practical GradientBrush. For more information about XAML implicit collection syntax, see XAML for Windows Phone 8. (Explicitly including a GradientStopCollection object element is permissible XAML syntax, and might be useful if you intend to name the collection in XAML and manipulate its contents later.)
Generally a GradientStopCollection contains a minimum of two gradient stops.