RowsFluent
ConsoleMonster.Layout
The fluent methods of Rows, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- RowsFluent
Methods
public static Rows Content(Rows rows, IWidget content) #Configures this container's content before session ownership.
Parameters
- rows ConsoleMonster.Layout.Rows
- The instance.
- content ConsoleMonster.Layout.IWidget
- The widget or nested content builder.
public static Rows Content(Rows rows, Action<ContentBuilder> content) #Configures this container's content before session ownership.
Parameters
- rows ConsoleMonster.Layout.Rows
- The instance.
- content System.Action<ConsoleMonster.Layout.ContentBuilder>
- The widget or nested content builder.
public static Rows DropByPriority(Rows rows, bool value = true) #Sets Rows.DropByPriority: Whether rows that do not fit shrink and then leave whole, lowest Prioritized.Priority first (default false: the last rows are cut). With it on, a Prioritized child shrinks toward its minimum height and is left out when even the minimums do not fit, so it is never given less than its minimum; the height left over goes back to the highest priorities first. Other children always stay.
Parameters
- rows ConsoleMonster.Layout.Rows
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
rows.DropByPriority = value; Ui.Rows().DropByPriority(value);