Class
TabOptionsFluent
ConsoleMonster.Interactive
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
- The instance.
- content ConsoleMonster.Layout.IWidget
- The widget or nested content builder.
public static TabOptions Content(TabOptions tabOptions, Action<ContentBuilder> content) #Configures this container's content before session ownership.
Parameters
- tabOptions ConsoleMonster.Interactive.TabOptions
- The instance.
- content System.Action<ConsoleMonster.Layout.ContentBuilder>
- The widget or nested content builder.
public static TabOptions Title(TabOptions tabOptions, string value) #Sets TabOptions.Title: The unique page label.
Parameters
- tabOptions ConsoleMonster.Interactive.TabOptions
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.TabOptions { Title = value }; Ui.Tab().Title(value);