Enum BorderType
Specifies the type of border to apply to a cell or range.
Namespace: Syncfusion.Blazor.Spreadsheet
Assembly: Syncfusion.Blazor.Spreadsheet.dll
Syntax
public enum BorderType
Remarks
Defines the available border styles that can be applied to cells or ranges in a spreadsheet.
- AllBorders - Applies borders to all inner and outer edges of the selected range.
- OutsideBorders - Applies borders only to the outer edges of the selected range.
- InsideBorders - Applies borders to the inner edges of cells within the selected range.
- HorizontalBorders - Applies borders to the inner horizontal edges within the selected range.
- VerticalBorders - Applies borders to the inner vertical edges within the selected range.
- TopBorder - Applies a border to the top edge of the selected range.
- BottomBorder - Applies a border to the bottom edge of the selected range.
- LeftBorder - Applies a border to the left edge of the selected range.
- RightBorder - Applies a border to the right edge of the selected range.
- NoBorder - Removes all borders from the selected range.
Fields
| Name | Description |
|---|---|
| AllBorders | Applies borders to all inner and outer edges of the selected range. |
| BottomBorder | Applies a border to the bottom edge of the selected range. |
| HorizontalBorders | Applies borders to the inner horizontal edges within the selected range. |
| InsideBorders | Applies borders to the inner edges of cells within the selected range. |
| LeftBorder | Applies a border to the left edge of the selected range. |
| NoBorder | Removes all borders from the selected range. |
| OutsideBorders | Applies borders only to the outer edges of the selected range. |
| RightBorder | Applies a border to the right edge of the selected range. |
| TopBorder | Applies a border to the top edge of the selected range. |
| VerticalBorders | Applies borders to the inner vertical edges within the selected range. |