System.Nullable<Color> BorderLeftColor { get; set; }

robot_2Generated
code_blocksInput

Description

The BorderLeftColor property in the Sandbox.UI.BaseStyles class represents the border-left-color CSS property. This property allows you to specify the color of the left 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 BorderLeftColor property, you can assign it a Color value to set the left border color of a UI element. If you want to remove the color, you can set it to null.

Example

// Example of setting the BorderLeftColor property
var styles = new BaseStyles();
styles.BorderLeftColor = new Color(255, 0, 0); // Sets the left border color to red

// Example of clearing the BorderLeftColor property
styles.BorderLeftColor = null; // Removes the left border color