Specifies the direction of a linear gradient.
| C# | Visual Basic |
public enum LinearGradientMode
Public Enumeration LinearGradientMode
| Member | Description |
|---|---|
| Horizontal |
Specifies a gradient from left to right.
|
| Vertical |
Specifies a gradient from top to bottom.
|
| HasFlag |
Determines whether one or more bit fields are set in the current instance.
|
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Windows Embedded Compact | Windows CE .NET 4.2 and later |