corelibraries-devexpress-dot-export-dot-xl-37081867.md
Lists values used to specify the line styles for cell borders.
Namespace : DevExpress.Export.Xl
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public enum XlBorderLineStyle
Public Enum XlBorderLineStyle
| Name | Description |
|---|---|
None |
Specifies that a border is not painted.
|
| Thin |
Specifies the thin solid border line.
|
| Medium |
Specifies the medium solid border line.
|
| Dashed |
Specifies the thin dashed border line.
|
| Dotted |
Specifies the thin dotted border line.
|
| Thick |
Specifies the thick solid border line.
|
| Double |
Specifies the double border line.
|
| Hair |
Specifies the hair border line.
|
| MediumDashed |
Specifies the medium dashed border line.
|
| DashDot |
Specifies the thin dash-dotted border line.
|
| MediumDashDot |
Specifies the medium dash-dotted border line.
|
| DashDotDot |
Specifies the thin dash-dot-dotted border line.
|
| MediumDashDotDot |
Specifies the medium dash-dot-dotted border line.
|
| SlantDashDot |
Specifies the medium slanted dash-dotted border line.
|
The following properties accept/return XlBorderLineStyle values:
To specify the line style for a particular border, use the corresponding property of the XlBorder class, which inherits the border line style options from the XlBordersBase class.
You can also set several borders at once using the XlBorder.OutlineBorders and XlBorder.AllBorders methods. These methods accept the XlBorderLineStyle enumeration member as a parameter.
For more information on how to customize cell borders, refer to the How to: Add Cell Borders example.
See Also