Skip to content
ConsoleMonster
Class

TabOptionsFluent

ConsoleMonster.Interactive

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

The fluent methods of TabOptions, 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
  • TabOptionsFluent

Methods

Content 2 overloads
public static TabOptions Content(TabOptions tabOptions, IWidget content) #

Configures this container's content before session ownership.

Parameters

tabOptions ConsoleMonster.Interactive.TabOptions required
The instance.
content ConsoleMonster.Layout.IWidget required
The widget or nested content builder.

Returns

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

Configures this container's content before session ownership.

Parameters

tabOptions ConsoleMonster.Interactive.TabOptions required
The instance.
content System.Action<ConsoleMonster.Layout.ContentBuilder> required
The widget or nested content builder.

Returns

TabOptions The same instance.
public static TabOptions Title(TabOptions tabOptions, string value) #

Sets TabOptions.Title: The unique page label.

Parameters

tabOptions ConsoleMonster.Interactive.TabOptions required
The instance.
value string required
The value.

Returns

TabOptions The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ConsoleMonster.Interactive.TabOptions { Title = value };    Ui.Tab().Title(value);