The following tables list the members exposed by BorderCollection.
Public Properties
Public Methods
| Name | Description |
| Equals | Determines whether the specified System.Object is equal to the current System.Object. |
| GetHashCode | Serves as a hash function for a particular type. |
| SetDiagonals | Sets the DiagonalUp and DiagonalDown borders using the same lineStyle and color. |
| SetInside | Sets the Horizontal and Vertical Borders using the same lineStyle and color. This is useful in CellRanges, ColumnRanges and RowRanges to automatically set the Left, Right, Top and Bottom Borders inside the range based on the position of the Cell, Column or Row position in the range and the BorderType that is used. |
| SetOutline | Sets the Left, Right, Top and Bottom Borders using the same lineStyle and color. |
| SetThemeDiagonals | Sets the DiagonalUp and DiagonalDown Borders using the same lineStyle and themeColor. |
| SetThemeInside | Sets the Horizontal and Vertical Borders using the same lineStyle and themeColor. This is useful for CellRanges, ColumnRanges or RowRanges as it allows to automatically set the Left, Right, Top and Bottom Borders inside the range based on the position of the Cell, Column or Row in the range and the type of border that is used. |
| SetThemeOutline | Sets the Left, Right, Top and Bottom Borders using the same lineStyle and themeColor. |
Top
See Also