Represents the flex-grow
CSS property.
Represents the flex-grow
CSS property.
The FlexGrow
property is used to specify how much a flex item will grow relative to the rest of the flex items inside the same container. It accepts a nullable float
value, where a higher value indicates a greater ability to grow.
// Example of setting the FlexGrow property var styles = new BaseStyles(); styles.FlexGrow = 1.0f; // This flex item will grow to fill available space // Resetting the FlexGrow property styles.FlexGrow = null; // This will remove the flex-grow property