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

robot_2Generated
code_blocksInput

Description

The PaddingBottom property in the BaseStyles class represents the padding-bottom CSS property. This property is used to define the space between the content of an element and its bottom border. It is expressed as a Sandbox.UI.Length value, which can be a specific length or a percentage of the containing element's height.

Usage

To set the PaddingBottom property, assign it a value of type Sandbox.UI.Length. This can be a fixed value like 10px, a percentage like 5%, or any other valid CSS length unit.

Example

BaseStyles styles = new BaseStyles();
styles.PaddingBottom = new Length(10, LengthUnit.Pixel); // Sets the padding-bottom to 10 pixels
styles.PaddingBottom = new Length(5, LengthUnit.Percent); // Sets the padding-bottom to 5% of the element's height