DashboardFluent
ConsoleMonster.Widgets
The fluent methods of Dashboard, 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
- DashboardFluent
Methods
public static Dashboard CompactSummaryBy(Dashboard dashboard, Func<string>? value) #Sets Dashboard.CompactSummary: The progress text for the compact status line (for example 218/332 · ✗12 ▲25), or null to use Dashboard.Detail. Called on the render thread.
Parameters
- dashboard ConsoleMonster.Widgets.Dashboard
- The instance.
- value System.Func<string>?
- The callback.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Dashboard { CompactSummary = value }; Ui.Dashboard().CompactSummaryBy(value);public static Dashboard Content(Dashboard dashboard, IWidget content) #Configures this container's content before session ownership.
Parameters
- dashboard ConsoleMonster.Widgets.Dashboard
- The instance.
- content ConsoleMonster.Layout.IWidget
- The widget or nested content builder.
public static Dashboard Content(Dashboard dashboard, Action<ContentBuilder> content) #Configures this container's content before session ownership.
Parameters
- dashboard ConsoleMonster.Widgets.Dashboard
- The instance.
- content System.Action<ConsoleMonster.Layout.ContentBuilder>
- The widget or nested content builder.
public static Dashboard Detail(Dashboard dashboard, string? value) #Sets Dashboard.Detail: A status shown on the right of the header (markup).
Parameters
- dashboard ConsoleMonster.Widgets.Dashboard
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Dashboard { Detail = value }; Ui.Dashboard().Detail(value);public static Dashboard MinimumSize(Dashboard dashboard, Size value) #Sets Dashboard.MinimumSize: The smallest window the full layout needs (default 60 × 14). Below it a live session renders the compact form: a one-line status and the highest-priority Prioritized widgets that fit.
Parameters
- dashboard ConsoleMonster.Widgets.Dashboard
- The instance.
- value ConsoleMonster.Layout.Size
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Dashboard { MinimumSize = value }; Ui.Dashboard().MinimumSize(value);public static Dashboard ShowElapsed(Dashboard dashboard, bool value = true) #Sets Dashboard.ShowElapsed: Whether the elapsed clock is shown in the header (default true).
Parameters
- dashboard ConsoleMonster.Widgets.Dashboard
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Dashboard { ShowElapsed = value }; Ui.Dashboard().ShowElapsed(value);public static Dashboard Status(Dashboard dashboard, StatusKind? value) #Sets Dashboard.Status: The status kind, shown as a marker before Dashboard.Detail.
Parameters
- dashboard ConsoleMonster.Widgets.Dashboard
- The instance.
- value ConsoleMonster.Styling.StatusKind?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Dashboard { Status = value }; Ui.Dashboard().Status(value);public static Dashboard Subtitle(Dashboard dashboard, string? value) #Sets Dashboard.Subtitle: The subtitle (markup), shown after the title.
Parameters
- dashboard ConsoleMonster.Widgets.Dashboard
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Dashboard { Subtitle = value }; Ui.Dashboard().Subtitle(value);public static Dashboard Title(Dashboard dashboard, string value) #Sets Dashboard.Title: The title (markup).
Parameters
- dashboard ConsoleMonster.Widgets.Dashboard
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.Dashboard { Title = value }; Ui.Dashboard().Title(value);