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

PatternType Enum

Lists the types of patterns available for cell shading.

Namespace: DevExpress.Spreadsheet

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

Declaration

public enum PatternType

Members

Name Description
None

No background (solid color or fill pattern) is applied to a cell.

Solid

Specifies that a cell is filled with a solid Fill.BackgroundColor color.

MediumGray

Specifies the 50% gray pattern.

PatternType_MediumGray

DarkGray

Specifies the 75% gray pattern.

PatternType_DarkGray

LightGray

Specifies the 25% gray pattern.

PatternType_LightGray

DarkHorizontal

Specifies a pattern that is a series of thick horizontal stripes.

PatternType_DarkHorizontal

DarkVertical

Specifies a pattern that is a series of thick vertical stripes.

PatternType_DarkVertical

DarkDown

Specifies a pattern that is a series of thick downward diagonal stripes.

PatternType_DarkDown

DarkUp

Specifies a pattern that is a series of thick upward diagonal stripes.

PatternType_DarkUp

DarkGrid

Specifies the thick grid pattern.

PatternType_DarkGrid

DarkTrellis

Specifies the thick diagonal trellis pattern.

PatternType_DarkTrellis

LightHorizontal

Specifies a pattern that is a series of thin horizontal stripes.

PatternType_LightHorizontal

LightVertical

Specifies a pattern that is a series of thin vertical stripes.

PatternType_LightVertical

LightDown

Specifies a pattern that is a series of thin downward diagonal stripes.

PatternType_LightDown

LightUp

Specifies a pattern that is a series of thin upward diagonal stripes.

PatternType_LightUp

LightGrid

Specifies the thin grid pattern.

PatternType_LightGrid

LightTrellis

Specifies the thin diagonal trellis pattern.

PatternType_LightTrellis

Gray125

Specifies the 12.5% gray pattern.

PatternType_Gray125

Gray0625

Specifies the 6.25% gray pattern.

PatternType_Gray0625

Remarks

This enumeration’s values are used by the Fill.PatternType property. See the How to: Change Cell Font and Background Color example.

See Also