Version

GradientStyle Enumeration

Specifies how a color gradient will be used to fill the background of any graphical object.
Syntax
'Declaration
 
Public Enum GradientStyle 
   Inherits System.Enum
public enum GradientStyle : System.Enum 
Members
MemberDescription
BackwardDiagonalSpecifies a gradient from upper right to lower left.
CircularSpecifies 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.
DefaultNo gradient (solid background color fill) by default.
EllipticalSpecifies 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.
ForwardDiagonalSpecifies a gradient from upper left to lower right.
HorizontalSpecifies a gradient from left to right.
HorizontalBumpSpecifies a gradient that starts with the primary color in the center and migrates toward the secondary color on the left and right.
NoneNo gradient (solid background color fill).
RaiseDepricated. Please don't use this.
RectangularSpecifies 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.
VerticalSpecifies a gradient from top to bottom.
VerticalBumpSpecifies a gradient that starts with the primary color in the center and migrates toward the secondary color on the top and bottom.
Remarks

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.

Requirements

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

See Also