Gets or sets the gradient type of the background.
Visual Basic (Declaration) | |
---|---|
Public Property BackgroundGradientType As ExpressionInfo |
C# | |
---|---|
public ExpressionInfo BackgroundGradientType {get; set;} |
Property Value
An enumerated ExpressionInfo that evaluates to the BackgroundGradientType of the background. Valid values are listed in the table below.
BackgroundGradientType | Description |
---|---|
None (Default) | The background is a solid color with no gradient. |
LeftRight | The BackgroundColor begins on the left and blends into the BackgroundGradientEndColor on the right. |
TopBottom | The BackgroundColor begins at the top and blends into the BackgroundGradientEndColor at the bottom. |
Center | The BackgroundColor begins at the center and blends into the BackgroundGradientEndColor at the edges. |
DiagonalLeft | The BackgroundColor begins at the bottom left and blends into the BackgroundGradientEndColor at the top right. |
DiagonalRight | The BackgroundColor begins at the bottom right and blends into the BackgroundGradientEndColor at the top left. |
HorizontalCenter | The BackgroundColor begins in a vertical swatch at the center and blends into the BackgroundGradientEndColor on the left and right. |
VerticalCenter | The BackgroundColor begins in a horizontal swatch at the center and blends into the BackgroundGradientEndColor at the top and bottom. |
Target Platforms: 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