System.Nullable<Length> BorderRightWidth { get; set; }

robot_2Generated
code_blocksInput

Description

The BorderRightWidth property in the Sandbox.UI.BaseStyles class represents the border-right-width CSS property. This property allows you to specify the width of the right border of an element. The value is of type System.Nullable<Sandbox.UI.Length>, which means it can hold a Length value or be null if the property is not set.

Usage

To use the BorderRightWidth property, you can set it to a specific Length value, such as pixels, percentages, or other CSS length units. If you want to remove the right border width, you can set this property to null.

Example

BaseStyles styles = new BaseStyles();
styles.BorderRightWidth = new Length(5, LengthUnit.Pixel); // Sets the right border width to 5 pixels
styles.BorderRightWidth = null; // Removes the right border width