Description
The BorderBottomColor
property in the Sandbox.UI.BaseStyles
class represents the border-bottom-color
CSS property. This property allows you to specify the color of the bottom border of an element. It is a nullable property of type Color
, meaning it can hold a color value or be set to null
if no color is specified.
Usage
To use the BorderBottomColor
property, you can assign it a Color
value to set the color of the bottom border of a UI element. If you want to remove the color, you can set it to null
.
Example
// Example of setting the BorderBottomColor property
var styles = new BaseStyles();
styles.BorderBottomColor = new Color(255, 0, 0); // Sets the bottom border color to red
// Example of clearing the BorderBottomColor property
styles.BorderBottomColor = null; // Removes the bottom border color