officefileapi-devexpress-dot-spreadsheet-68b3376a.md
Lists line styles for cell borders.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum BorderLineStyle
Public Enum BorderLineStyle
| Name | Description | Example |
|---|---|---|
None |
A border is not painted.
| |
| Thin |
The thin solid border line.
|
|
| Medium |
The medium solid border line.
|
|
| Dashed |
The thin dashed border line.
|
|
| Dotted |
The thin dotted border line.
|
|
| Thick |
The thick solid border line.
|
|
| Double |
The double border line.
|
|
| Hair |
The hair border line.
|
|
| MediumDashed |
The medium dashed border line.
|
|
| DashDot |
The thin dash-dotted border line.
|
|
| MediumDashDot |
The medium dash-dotted border line.
|
|
| DashDotDot |
The thin dash-dot-dotted border line.
|
|
| MediumDashDotDot |
The medium dash-dot-dotted border line.
|
|
| SlantDashDot |
The medium slanted dash-dotted border line.
|
|
The following properties accept/return BorderLineStyle values:
To specify the border line style for a cell, use the Border.LineStyle property, or pass a BorderLineStyle enumeration member to one of the following methods:
See how to add and remove cell borders.
See Also