Class
AlignFluent
ConsoleMonster.Layout
The fluent methods of Align, generated from its public properties: A property-named method sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- object
- AlignFluent
Methods
Content 2 overloads
public static Align Content(Align align, IWidget content) #Configures this container's content before session ownership.
Parameters
- align ConsoleMonster.Layout.Align
- The instance.
- content ConsoleMonster.Layout.IWidget
- The widget or nested content builder.
public static Align Content(Align align, Action<ContentBuilder> content) #Configures this container's content before session ownership.
Parameters
- align ConsoleMonster.Layout.Align
- The instance.
- content System.Action<ConsoleMonster.Layout.ContentBuilder>
- The widget or nested content builder.
public static Align Horizontal(Align align, HorizontalAlignment value) #Sets Align.Horizontal: Horizontal placement.
Parameters
- align ConsoleMonster.Layout.Align
- The instance.
- value ConsoleMonster.Layout.HorizontalAlignment
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Layout.Align { Horizontal = value }; Ui.Align().Horizontal(value);public static Align Vertical(Align align, VerticalAlignment value) #Sets Align.Vertical: Vertical placement.
Parameters
- align ConsoleMonster.Layout.Align
- The instance.
- value ConsoleMonster.Layout.VerticalAlignment
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Layout.Align { Vertical = value }; Ui.Align().Vertical(value);