Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ShapeFillPatternType Enum

Lists values used to specify the preset patterns for the pattern fill.

Namespace: DevExpress.Spreadsheet.Drawings

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public enum ShapeFillPatternType

Members

Name Description
Cross

Specifies a pattern of horizontal and vertical lines that cross each other.

SpreadsheetPatternType_Cross

DashedDownwardDiagonal

Specifies a pattern of dashed downward diagonal lines.

SpreadsheetPatternType_DashedDownwardDiagonal

DashedHorizontal

Specifies a pattern of dashed horizontal lines.

SpreadsheetPatternType_DashedHorizontal

DashedUpwardDiagonal

Specifies a pattern of dashed upward diagonal lines.

SpreadsheetPatternType_DashedUpwardDiagonal

DashedVertical

Specifies a pattern of dashed vertical lines.

SpreadsheetPatternType_DashedVertical

DiagonalBrick

Specifies a pattern that has the appearance of diagonally layered bricks.

SpreadsheetPatternType_DiagonalBrick

DiagonalCross

Specifies a pattern of crisscross diagonal lines.

SpreadsheetPatternType_DiagonalCross

Divot

Specifies a pattern that has the appearance of divots.

SpreadsheetPatternType_Divot

DarkDownwardDiagonal

Specifies a pattern of thick downward diagonal lines that are spaced 50% closer together than in the ShapeFillPatternType.DownwardDiagonal pattern and whose width is two times greater than the width of ShapeFillPatternType.DownwardDiagonal lines.

SpreadsheetPatternType_DarkDownwardDiagonal

DarkHorizontal

Specifies a pattern of thick horizontal lines that are spaced 50% closer together than in the ShapeFillPatternType.Horizontal pattern and whose width is two times greater than the width of ShapeFillPatternType.Horizontal lines.

SpreadsheetPatternType_DarkHorizontal

DarkUpwardDiagonal

Specifies a pattern of thick upward diagonal lines that are spaced 50% closer together than in the ShapeFillPatternType.UpwardDiagonal pattern and whose width is two times greater than the width of ShapeFillPatternType.UpwardDiagonal lines.

SpreadsheetPatternType_DarkUpwardDiagonal

DarkVertical

Specifies a pattern of thick vertical lines that are spaced 50% closer together than in the ShapeFillPatternType.Vertical pattern and whose width is two times greater than the width of ShapeFillPatternType.Vertical lines.

SpreadsheetPatternType_DarkVertical

DownwardDiagonal

Specifies a pattern of downward diagonal lines.

SpreadsheetPatternType_DownwardDiagonal

DottedDiamond

Specifies a pattern of dotted forward and backward diagonal lines that cross each other.

SpreadsheetPatternType_DottedDiamond

DottedGrid

Specifies a pattern of dotted horizontal and vertical lines that cross each other.

SpreadsheetPatternType_DottedGrid

Horizontal

Specifies a pattern of horizontal lines.

SpreadsheetPatternType_Horizontal

HorizontalBrick

Specifies a pattern that has the appearance of horizontally layered bricks.

SpreadsheetPatternType_HorizontalBrick

LargeCheckerBoard

Specifies a pattern that has the appearance of a checkerboard with large squares.

SpreadsheetPatternType_LargeCheckerBoard

LargeConfetti

Specifies a pattern that has the appearance of large confetti.

SpreadsheetPatternType_LargeConfetti

LargeGrid

Specifies a pattern of horizontal and vertical lines that cross each other to form a series of large squares. This pattern is equal to ShapeFillPatternType.Cross.

SpreadsheetPatternType_LargeGrid

LightDownwardDiagonal

Specifies a pattern of thin downward diagonal lines that are spaced 50% closer together than in the ShapeFillPatternType.DownwardDiagonal pattern.

SpreadsheetPatternType_LightDownwardDiagonal

LightHorizontal

Specifies a pattern of thin horizontal lines that are spaced 50% closer together than in the ShapeFillPatternType.Horizontal pattern.

SpreadsheetPatternType_LightHorizontal

LightUpwardDiagonal

Specifies a pattern of thin upward diagonal lines that are spaced 50% closer together than in the ShapeFillPatternType.UpwardDiagonal pattern.

SpreadsheetPatternType_LightUpwardDiagonal

LightVertical

Specifies a pattern of thin vertical lines that are spaced 50% closer together than in the ShapeFillPatternType.Vertical pattern.

SpreadsheetPatternType_LightVertical

NarrowHorizontal

Specifies a pattern of thin horizontal lines that are spaced 75% closer together than in the ShapeFillPatternType.Horizontal pattern.

SpreadsheetPatternType_NarrowHorizontal

NarrowVertical

Specifies a pattern of thin vertical lines that are spaced 75% closer together than in the ShapeFillPatternType.Vertical pattern.

SpreadsheetPatternType_NarrowVertical

OpenDiamond

Specifies a pattern of forward and backward diagonal lines that cross each other.

SpreadsheetPatternType_OutlinedDiamond

Percent10

Specifies the 10% pattern. The ratio of the foreground color to the background color is 10 to 90.

SpreadsheetPatternType_10Percent

Percent20

Specifies the 20% pattern. The ratio of the foreground color to the background color is 20 to 80.

SpreadsheetPatternType_20Percent

Percent25

Specifies the 25% pattern. The ratio of the foreground color to the background color is 25 to 75.

SpreadsheetPatternType_25Percent

Percent30

Specifies the 30% pattern. The ratio of the foreground color to the background color is 30 to 70.

SpreadsheetPatternType_30Percent

Percent40

Specifies the 40% pattern. The ratio of the foreground color to the background color is 40 to 60.

SpreadsheetPatternType_40Percent

Percent5

Specifies the 5% pattern. The ratio of the foreground color to the background color is 5 to 95.

SpreadsheetPatternType_5Percent

Percent50

Specifies the 50% pattern. The ratio of the foreground color to the background color is 50 to 50.

SpreadsheetPatternType_50Percent

Percent60

Specifies the 60% pattern. The ratio of the foreground color to the background color is 60 to 40.

SpreadsheetPatternType_60Percent

Percent70

Specifies the 70% pattern. The ratio of the foreground color to the background color is 70 to 30.

SpreadsheetPatternType_70Percent

Percent75

Specifies the 75% pattern. The ratio of the foreground color to the background color is 75 to 25.

SpreadsheetPatternType_75Percent

Percent80

Specifies the 80% pattern. The ratio of the foreground color to the background color is 80 to 20.

SpreadsheetPatternType_80Percent

Percent90

Specifies the 90% pattern. The ratio of the foreground color to the background color is 90 to 10.

SpreadsheetPatternType_90Percent

Plaid

Specifies a pattern that has the appearance of the plaid material.

SpreadsheetPatternType_Plaid

Shingle

Specifies a pattern that has the appearance of diagonally layered shingles.

SpreadsheetPatternType_Shingle

SmallCheckerBoard

Specifies a pattern that has the appearance of a checkerboard with small squares.

SpreadsheetPatternType_SmallCheckerBoard

SmallConfetti

Specifies a pattern that has the appearance of small confetti.

SpreadsheetPatternType_SmallConfetti

SmallGrid

Specifies a pattern of closely spaced horizontal and vertical lines that cross each other to form a series of small squares.

SpreadsheetPatternType_SmallGrid

SolidDiamond

Specifies a pattern that has the appearance of a checkerboard made up of equal-sized diamonds.

SpreadsheetPatternType_SolidDiamond

Sphere

Specifies a pattern that has the appearance of adjacent spheres.

SpreadsheetPatternType_Sphere

Trellis

Specifies a pattern that has the appearance of a trellis.

SpreadsheetPatternType_Trellis

UpwardDiagonal

Specifies a pattern of upward diagonal lines.

SpreadsheetPatternType_UpwardDiagonal

Vertical

Specifies a pattern of vertical lines.

SpreadsheetPatternType_Vertical

Wave

Specifies a pattern of horizontal lines that are composed of reversed tildes.

SpreadsheetPatternType_Wave

WideDownwardDiagonal

Specifies a pattern of wide downward diagonal lines whose width is three times greater than the width of ShapeFillPatternType.DownwardDiagonal lines.

SpreadsheetPatternType_WideDownwardDiagonal

WideUpwardDiagonal

Specifies a pattern of wide upward diagonal lines whose width is three times greater than the width of ShapeFillPatternType.UpwardDiagonal lines.

SpreadsheetPatternType_WideUpwardDiagonal

Weave

Specifies a pattern that has the appearance of the woven material.

SpreadsheetPatternType_Weave

ZigZag

Specifies a pattern of horizontal lines that are composed of zigzags.

SpreadsheetPatternType_ZigZag

Remarks

To apply the pattern fill to a chart element, call the ShapeFill.SetPatternFill method with the ShapeFillPatternType enumeration value passed as a parameter. To obtain or change the type of the applied pattern fill, use the ShapePatternFill.PatternType property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShapeFillPatternType enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also