API Reference
Class
RuleFluent
The fluent methods of Rule, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- RuleFluent
Methods
public static Rule WithAlignment(Rule rule, HorizontalAlignment value) #Returns:
RuleSets Rule.Alignment: Title alignment (default left).
Parameters
- rule ConsoleMonster.Widgets.Rule
- The instance.
- value ConsoleMonster.Layout.HorizontalAlignment
- The value.
Returns
The same instance.
public static Rule WithLineToken(Rule rule, ThemeToken value) #Returns:
RuleSets Rule.LineToken: The line's theme token (default ThemeToken.Border).
Parameters
- rule ConsoleMonster.Widgets.Rule
- The instance.
- value ConsoleMonster.Styling.ThemeToken
- The value.
Returns
The same instance.
public static Rule WithTitle(Rule rule, String? value) #Returns:
RuleSets Rule.Title: The title (markup).
Parameters
- rule ConsoleMonster.Widgets.Rule
- The instance.
- value System.String?
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?