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

robot_2Generated
code_blocksInput

Description

Represents the padding-left CSS property.

Usage

The PaddingLeft property is used to set the left padding of an element. It accepts a Sandbox.UI.Length value, which can be specified in various units such as pixels, percentages, etc. This property is nullable, meaning it can be set to null to remove any previously set padding.

Example

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

// Example of removing the PaddingLeft property
styles.PaddingLeft = null; // Removes the left padding