Back to Devexpress

PatternType Enum

officefileapi-devexpress-dot-spreadsheet-226d0c7f.md

latest3.9 KB
Original Source

PatternType Enum

Lists patterns to apply to a cell.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public enum PatternType
vb
Public Enum PatternType

Members

NameDescriptionExample
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.

|

| | DarkGray |

Specifies the 75% gray pattern.

|

| | LightGray |

Specifies the 25% gray pattern.

|

| | DarkHorizontal |

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

|

| | DarkVertical |

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

|

| | DarkDown |

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

|

| | DarkUp |

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

|

| | DarkGrid |

Specifies the thick grid pattern.

|

| | DarkTrellis |

Specifies the thick diagonal trellis pattern.

|

| | LightHorizontal |

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

|

| | LightVertical |

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

|

| | LightDown |

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

|

| | LightUp |

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

|

| | LightGrid |

Specifies the thin grid pattern.

|

| | LightTrellis |

Specifies the thin diagonal trellis pattern.

|

| | Gray125 |

Specifies the 12.5% gray pattern.

|

| | Gray0625 |

Specifies the 6.25% gray pattern.

|

|

The following properties accept/return PatternType values:

See Also

How to: Change Cell Font and Background Color

DevExpress.Spreadsheet Namespace