New to Telerik Document ProcessingStart a free 30-day trial

Defines gradient directions and patterns for two-color fills in cells.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public enum GradientType

Fields

Blends diagonally from top-left to bottom-right.

C#
DiagonalDown = 9

Blends diagonally downward with repeated transitions.

C#
DiagonalDownRepeated = 11

Blends diagonally from bottom-right to top-left.

C#
DiagonalDownReversed = 10

Blends diagonally from bottom-left to top-right.

C#
DiagonalUp = 6

Blends diagonally upward with repeated transitions.

C#
DiagonalUpRepeated = 8

Blends diagonally from top-right to bottom-left.

C#
DiagonalUpReversed = 7

Radiates from the bottom-left corner outward.

C#
FromBottomLeftCorner = 14

Radiates from the bottom-right corner outward.

C#
FromBottomRightCorner = 15

Radiates from the cell center outward.

C#
FromCenter = 16

Radiates from the top-left corner outward.

C#
FromTopLeftCorner = 12

Radiates from the top-right corner outward.

C#
FromTopRightCorner = 13

Blends from left to right.

C#
Horizontal = 0

Blends horizontally with repeated transitions.

C#
HorizontalRepeated = 2

Blends from right to left.

C#
HorizontalReversed = 1

Blends from top to bottom.

C#
Vertical = 3

Blends vertically with repeated transitions.

C#
VerticalRepeated = 5

Blends from bottom to top.

C#
VerticalReversed = 4