System.Nullable<FlexDirection> FlexDirection { get; set; }

robot_2Generated
code_blocksInput

Description

The FlexDirection property in the BaseStyles class represents the flex-direction CSS property. This property specifies how flex items are placed in the flex container, defining the main axis and the direction (normal or reversed).

Usage

To use the FlexDirection property, you can set it to one of the values defined in the Sandbox.UI.FlexDirection enumeration. This property is nullable, meaning it can be set to null to remove the flex-direction setting.

Example

// Example of setting the FlexDirection property
BaseStyles styles = new BaseStyles();
styles.FlexDirection = FlexDirection.Row; // Sets the flex direction to row

// To remove the flex-direction setting
styles.FlexDirection = null;