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

robot_2Generated
code_blocksInput

Description

The RowGap property in the BaseStyles class represents the row-gap CSS property. This property is used to define the spacing between rows in a grid layout. It is a nullable type, meaning it can hold a value of type Sandbox.UI.Length or be null if not set.

Usage

To use the RowGap property, you can set it to a specific length value, such as pixels, percentages, or any other valid CSS length unit. This will determine the space between rows in a grid layout.

Example

// Example of setting the RowGap property
var styles = new BaseStyles();
styles.RowGap = new Length(10, LengthUnit.Pixel); // Sets the row gap to 10 pixels

// Example of clearing the RowGap property
styles.RowGap = null; // Removes the row gap setting