'Declaration Public Enum GradientStyle Inherits System.Enum
public enum GradientStyle : System.Enum
Member | Description |
---|---|
BackwardDiagonal | Specifies a gradient from upper right to lower left. |
Circular | Specifies a gradient that starts with the primary color in the center point and migrates toward the secondary color on the edges in a circular pattern. |
Default | No gradient (solid background color fill) by default. |
Elliptical | Specifies a gradient that starts with the primary color in the center point and migrates toward the secondary color on the edges in a elliptical pattern. |
ForwardDiagonal | Specifies a gradient from upper left to lower right. |
Horizontal | Specifies a gradient from left to right. |
HorizontalBump | Specifies a gradient that starts with the primary color in the center and migrates toward the secondary color on the left and right. |
None | No gradient (solid background color fill). |
Raise | Depricated. Please don't use this. |
Rectangular | Specifies a gradient that starts with the primary color in the center point and migrates toward the secondary color on the edges in a rectangular pattern. |
Vertical | Specifies a gradient from top to bottom. |
VerticalBump | Specifies a gradient that starts with the primary color in the center and migrates toward the secondary color on the top and bottom. |
A gradient is a blend of color beginning at the principle color for this graphical object, specified by the Fill property, and then smoothly interpolating into the color specified by the FillStopColor property. The interpolation for most gradient styles is done over a Bell curve.
Bump and two-color gradients transition their color from the principle color (defined as the Fill color) at the center into the FillStopColor at the edge(s). Examples of gradients that use this approach include HorizontalBump, VerticalBump, Circular, Elliptical and Rectangular.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2