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

robot_2Generated
code_blocksInput

Description

The BorderImageWidthLeft property in the Sandbox.UI.BaseStyles class represents the border-image-width-left CSS property. This property specifies the width of the left border image area. It is a nullable type, allowing for the absence of a value, which can be useful for resetting or not setting the property explicitly.

Usage

To use the BorderImageWidthLeft property, you can assign a value of type Sandbox.UI.Length to it. This can be done in a UI component where you are defining styles. If you do not want to set a specific value, you can leave it as null.

Example

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

// Example of resetting the BorderImageWidthLeft property
styles.BorderImageWidthLeft = null; // Resets the property, removing any explicit value