Edit

Share via


LinearGradientMode Enum

Definition

Specifies the direction of a linear gradient.

public enum class LinearGradientMode
public enum LinearGradientMode
type LinearGradientMode = 
Public Enum LinearGradientMode
Inheritance
LinearGradientMode

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.

Applies to