LinearGradientMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the direction of a linear gradient.
public enum class LinearGradientMode
public enum LinearGradientMode
type LinearGradientMode =
Public Enum LinearGradientMode
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Horizontal | 0 | Specifies a gradient from left to right. |
Vertical | 1 | Specifies a gradient from top to bottom. |
ForwardDiagonal | 2 | Specifies a gradient from upper left to lower right. |
BackwardDiagonal | 3 | Specifies a gradient from upper right to lower left. |