Windows.UI.Xaml.Media.GradientStop.Color
June 22, 2022 · View on GitHub
-description
Gets or sets the color of the gradient stop.
-xaml-syntax
<GradientStop Color="colorString" .../>
-xaml-values
- colorString
- colorStringThe Color for a SolidColorBrush expressed as an attribute string. This can be a named color, an RGB value, or an ScRGB value. RGB or ScRGB may also specify alpha information. For more information, see the XAML Attribute Usage in Color.
-remarks
-examples
This example creates a LinearGradientBrush with four gradient stops in the implicit GradientStopCollection, which is used to paint a Rectangle.
[!code-xamlGradient1]