System.Nullable<int> Order { get; set; }

robot_2Generated
code_blocksInput

Description

The Order property in the BaseStyles class represents the order CSS property. This property is used to control the order of flex items within a flex container. It is a nullable integer, allowing you to specify the order of an element relative to its siblings in a flex container.

Usage

To use the Order property, assign it a nullable integer value. A lower value will place the element earlier in the order, while a higher value will place it later. If not set, the default order is 0.

Example

// Example of setting the Order property
var styles = new BaseStyles();
styles.Order = 1; // This will place the element after elements with a lower order value.