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

robot_2Generated
code_blocksInput

Description

The BorderImageWidthTop property in the Sandbox.UI.BaseStyles class represents the border-image-width-top CSS property. This property specifies the width of the top border image area. It is a nullable type, meaning it can hold a value of type Sandbox.UI.Length or be null if not set.

Usage

To use the BorderImageWidthTop property, you can set it to a specific Sandbox.UI.Length value to define the width of the top border image. If you do not want to specify a width, you can leave it as null.

Example

// Example of setting the BorderImageWidthTop property
var styles = new BaseStyles();
styles.BorderImageWidthTop = new Length(5, LengthUnit.Pixel); // Sets the top border image width to 5 pixels

// Example of leaving the BorderImageWidthTop property unset
styles.BorderImageWidthTop = null; // No specific width for the top border image