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

robot_2Generated
code_blocksInput

Description

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

Example

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

// Example of clearing the BorderRightColor property
styles.BorderRightColor = null; // Removes the right border color