TableRowRoleFluent
ConsoleMonster.Widgets
The fluent methods of TableRowRole, 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
- TableRowRoleFluent
Methods
public static TableRowRole AsciiMarker(TableRowRole tableRowRole, string? value) #Sets TableRowRole.AsciiMarker: The ASCII marker; null uses TableRowRole.Marker.
Parameters
- tableRowRole ConsoleMonster.Widgets.TableRowRole
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { AsciiMarker = value }; tableRowRole.AsciiMarker(value);public static TableRowRole Bold(TableRowRole tableRowRole, bool value) #Sets TableRowRole.Bold: Apply bold emphasis to every cell.
Parameters
- tableRowRole ConsoleMonster.Widgets.TableRowRole
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { Bold = value }; tableRowRole.Bold(value);public static TableRowRole Bold(TableRowRole tableRowRole) #Sets TableRowRole.Bold to true.
Parameters
- tableRowRole ConsoleMonster.Widgets.TableRowRole
- The instance to configure.
public static TableRowRole Marker(TableRowRole tableRowRole, string? value) #Sets TableRowRole.Marker: A plain text marker for RoleTable's dedicated marker column.
Parameters
- tableRowRole ConsoleMonster.Widgets.TableRowRole
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { Marker = value }; tableRowRole.Marker(value);public static TableRowRole MarkerTone(TableRowRole tableRowRole, ThemeToken? value) #Sets TableRowRole.MarkerTone: Optional marker-only role, without changing the rest of the row.
Parameters
- tableRowRole ConsoleMonster.Widgets.TableRowRole
- The instance.
- value ConsoleMonster.Styling.ThemeToken?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { MarkerTone = value }; tableRowRole.MarkerTone(value);public static TableRowRole Muted(TableRowRole tableRowRole, bool value) #Sets TableRowRole.Muted: Mute every cell; an explicit TableRowRole.Tone takes precedence.
Parameters
- tableRowRole ConsoleMonster.Widgets.TableRowRole
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { Muted = value }; tableRowRole.Muted(value);public static TableRowRole Muted(TableRowRole tableRowRole) #Sets TableRowRole.Muted to true.
Parameters
- tableRowRole ConsoleMonster.Widgets.TableRowRole
- The instance to configure.
public static TableRowRole Tone(TableRowRole tableRowRole, ThemeToken? value) #Sets TableRowRole.Tone: An optional theme role for every cell in the row.
Parameters
- tableRowRole ConsoleMonster.Widgets.TableRowRole
- The instance.
- value ConsoleMonster.Styling.ThemeToken?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { Tone = value }; tableRowRole.Tone(value);