officefileapi-devexpress-dot-spreadsheet-6217b15f.md
Lists the types of cell diagonal borders.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum DiagonalBorderType
Public Enum DiagonalBorderType
| Name | Description |
|---|---|
None |
No diagonal borders are applied in a cell.
|
| Up |
Specifies a diagonal cell border from bottom left to top right.
|
| Down |
Specifies a diagonal cell border from top left to bottom right.
|
| UpAndDown |
Specifies that both diagonal-down and diagonal-up borders are applied in a cell.
|
The following properties accept/return DiagonalBorderType values:
This enumeration’s values are used by the Borders.DiagonalBorderType property and Borders.SetDiagonalBorders method. See the How to: Add and Remove Cell Borders example.
See Also