Description
The BorderImageWidthBottom
property in the Sandbox.UI.BaseStyles
class represents the border-image-width-bottom
CSS property. This property allows you to specify the width of the bottom border image of an element. It is a nullable property of type Sandbox.UI.Length
, which means it can hold a length value or be set to null
if the property is not defined.
Usage
To use the BorderImageWidthBottom
property, you can set it to a specific length value using the Sandbox.UI.Length
type. This can be done in your UI component's style configuration. If you do not want to specify a bottom border image width, you can leave it as null
.
Example
// Example of setting the BorderImageWidthBottom property
var styles = new BaseStyles();
styles.BorderImageWidthBottom = new Length(5, LengthUnit.Pixel); // Sets the bottom border image width to 5 pixels
// Example of leaving the BorderImageWidthBottom property unset
styles.BorderImageWidthBottom = null; // No specific bottom border image width is defined