Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PatternFillType Enum

Lists preset patterns for a pattern fill.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public enum PatternFillType

#Members

Name Description Example
Cross

A pattern of horizontal and vertical lines that cross each other.

SpreadsheetPatternType_Cross

DashedDownwardDiagonal

A pattern of dashed downward diagonal lines.

SpreadsheetPatternType_DashedDownwardDiagonal

DashedHorizontal

A pattern of dashed horizontal lines.

SpreadsheetPatternType_DashedHorizontal

DashedUpwardDiagonal

A pattern of dashed upward diagonal lines.

SpreadsheetPatternType_DashedUpwardDiagonal

DashedVertical

A pattern of dashed vertical lines.

SpreadsheetPatternType_DashedVertical

DiagonalBrick

A pattern that has the appearance of diagonally layered bricks.

SpreadsheetPatternType_DiagonalBrick

DiagonalCross

A pattern of crisscross diagonal lines.

SpreadsheetPatternType_DiagonalCross

Divot

A pattern that has the appearance of divots.

SpreadsheetPatternType_Divot

DarkDownwardDiagonal

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

SpreadsheetPatternType_DarkDownwardDiagonal

DarkHorizontal

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

SpreadsheetPatternType_DarkHorizontal

DarkUpwardDiagonal

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

SpreadsheetPatternType_DarkUpwardDiagonal

DarkVertical

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

SpreadsheetPatternType_DarkVertical

DownwardDiagonal

A pattern of downward diagonal lines.

SpreadsheetPatternType_DownwardDiagonal

DottedDiamond

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

SpreadsheetPatternType_DottedDiamond

DottedGrid

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

SpreadsheetPatternType_DottedGrid

Horizontal

A pattern of horizontal lines.

SpreadsheetPatternType_Horizontal

HorizontalBrick

A pattern that has the appearance of horizontally layered bricks.

SpreadsheetPatternType_HorizontalBrick

LargeCheckerBoard

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

SpreadsheetPatternType_LargeCheckerBoard

LargeConfetti

A pattern that has the appearance of large confetti.

SpreadsheetPatternType_LargeConfetti

LargeGrid

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

SpreadsheetPatternType_LargeGrid

LightDownwardDiagonal

A pattern of thin downward diagonal lines that are spaced 50% closer together than in the PatternFillType.DownwardDiagonal pattern.

SpreadsheetPatternType_LightDownwardDiagonal

LightHorizontal

A pattern of thin horizontal lines that are spaced 50% closer together than in the PatternFillType.Horizontal pattern.

SpreadsheetPatternType_LightHorizontal

LightUpwardDiagonal

A pattern of thin upward diagonal lines that are spaced 50% closer together than in the PatternFillType.UpwardDiagonal pattern.

SpreadsheetPatternType_LightUpwardDiagonal

LightVertical

A pattern of thin vertical lines that are spaced 50% closer together than in the PatternFillType.Vertical pattern.

SpreadsheetPatternType_LightVertical

NarrowHorizontal

A pattern of thin horizontal lines that are spaced 75% closer together than in the PatternFillType.Horizontal pattern.

SpreadsheetPatternType_NarrowHorizontal

NarrowVertical

A pattern of thin vertical lines that are spaced 75% closer together than in the PatternFillType.Vertical pattern.

SpreadsheetPatternType_NarrowVertical

OpenDiamond

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

SpreadsheetPatternType_OutlinedDiamond

Percent10

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

SpreadsheetPatternType_10Percent

Percent20

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

SpreadsheetPatternType_20Percent

Percent25

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

SpreadsheetPatternType_25Percent

Percent30

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

SpreadsheetPatternType_30Percent

Percent40

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

SpreadsheetPatternType_40Percent

Percent5

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

SpreadsheetPatternType_5Percent

Percent50

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

SpreadsheetPatternType_50Percent

Percent60

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

SpreadsheetPatternType_60Percent

Percent70

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

SpreadsheetPatternType_70Percent

Percent75

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

SpreadsheetPatternType_75Percent

Percent80

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

SpreadsheetPatternType_80Percent

Percent90

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

SpreadsheetPatternType_90Percent

Plaid

A pattern that has the appearance of the plaid material.

SpreadsheetPatternType_Plaid

Shingle

A pattern that has the appearance of diagonally layered shingles.

SpreadsheetPatternType_Shingle

SmallCheckerBoard

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

SpreadsheetPatternType_SmallCheckerBoard

SmallConfetti

A pattern that has the appearance of small confetti.

SpreadsheetPatternType_SmallConfetti

SmallGrid

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

SpreadsheetPatternType_SmallGrid

SolidDiamond

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

SpreadsheetPatternType_SolidDiamond

Sphere

A pattern that has the appearance of adjacent spheres.

SpreadsheetPatternType_Sphere

Trellis

A pattern that has the appearance of a trellis.

SpreadsheetPatternType_Trellis

UpwardDiagonal

A pattern of upward diagonal lines.

SpreadsheetPatternType_UpwardDiagonal

Vertical

A pattern of vertical lines.

SpreadsheetPatternType_Vertical

Wave

A pattern of horizontal lines that are composed of reversed tildes.

SpreadsheetPatternType_Wave

WideDownwardDiagonal

A pattern of wide downward diagonal lines whose width is three times greater than the width of PatternFillType.DownwardDiagonal lines.

SpreadsheetPatternType_WideDownwardDiagonal

WideUpwardDiagonal

A pattern of wide upward diagonal lines whose width is three times greater than the width of PatternFillType.UpwardDiagonal lines.

SpreadsheetPatternType_WideUpwardDiagonal

Weave

A pattern that has the appearance of the woven material.

SpreadsheetPatternType_Weave

ZigZag

A pattern of horizontal lines that are composed of zigzags.

SpreadsheetPatternType_ZigZag

#Related API Members

The following properties accept/return PatternFillType values:

#Remarks

Use the Shape.Fill.SetPatternFill method to fill a shape with a pattern.

See Also