Description
The BorderBottomLeftRadius
property in the Sandbox.UI.BaseStyles
class represents the border-bottom-left-radius
CSS property. This property is used to define the rounding of the bottom-left corner of an element's border box. It accepts a Sandbox.UI.Length
value, which can be specified in various units such as pixels, percentages, etc.
Usage
To use the BorderBottomLeftRadius
property, you can set it to a specific length value to achieve the desired corner rounding effect. This property is nullable, meaning it can be set to null
if you want to remove any previously set rounding.
Example
// Example of setting the BorderBottomLeftRadius property
var styles = new BaseStyles();
styles.BorderBottomLeftRadius = new Length(10, LengthUnit.Pixel); // Sets the bottom-left border radius to 10 pixels
// Example of removing the border radius
styles.BorderBottomLeftRadius = null; // Removes the bottom-left border radius