API Reference
Class
RichTextFluent
The fluent methods of RichText, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- RichTextFluent
Methods
public static RichText WithAlignment(RichText richText, HorizontalAlignment value) #Returns:
RichTextSets RichText.Alignment: Alignment when written as a widget (default left).
Parameters
- richText ConsoleMonster.Text.RichText
- The instance.
- value ConsoleMonster.Layout.HorizontalAlignment
- The value.
Returns
The same instance.
public static RichText WithOverflow(RichText richText, TextOverflow value) #Returns:
RichTextSets RichText.Overflow: How the text fits when written as a widget (default wrap, keeping styles across lines).
Parameters
- richText ConsoleMonster.Text.RichText
- The instance.
- value ConsoleMonster.Widgets.TextOverflow
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?