Skip to content
ConsoleMonster
Class

AlignFluent

ConsoleMonster.Layout

Namespace
ConsoleMonster.Layout
Assembly
ConsoleMonster
Modifiers
static
Attributes
GeneratedCode("ConsoleMonster.Generators", "1.0.0")

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 required
The instance.
content ConsoleMonster.Layout.IWidget required
The widget or nested content builder.

Returns

Align The same instance.
public static Align Content(Align align, Action<ContentBuilder> content) #

Configures this container's content before session ownership.

Parameters

align ConsoleMonster.Layout.Align required
The instance.
content System.Action<ConsoleMonster.Layout.ContentBuilder> required
The widget or nested content builder.

Returns

Align The same instance.
public static Align Horizontal(Align align, HorizontalAlignment value) #

Sets Align.Horizontal: Horizontal placement.

Parameters

align ConsoleMonster.Layout.Align required
The instance.
value ConsoleMonster.Layout.HorizontalAlignment required
The value.

Returns

Align The same instance.

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 required
The instance.
value ConsoleMonster.Layout.VerticalAlignment required
The value.

Returns

Align The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::ConsoleMonster.Layout.Align { Vertical = value };    Ui.Align().Vertical(value);