corelibraries-devexpress-dot-export-dot-xl-349e5e29.md
Lists the types of patterns available for cell shading.
Namespace : DevExpress.Export.Xl
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public enum XlPatternType
Public Enum XlPatternType
| 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 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 XlPatternType values:
To apply the pattern fill to a cell, call the XlFill.PatternFill method with the XlPatternType enumeration value passed as a parameter. To obtain or change the type of the applied pattern fill, use the XlFill.PatternType property.
See Also