Class
ViewFact
ConsoleMonster.Widgets
One fact under a view: an optional caption, the value (presented like a table cell) and an optional label.
Inheritance
- object
- ViewFact
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property ViewFacts.Facts
Accepted by parameters 6
- Constructor ViewFacts.ViewFacts
- Extension method ViewFacts.AddFact
- Extension method ViewFacts.AddFacts
- Method ViewFacts.Add
- Method WidgetsFluent.AddFact
- Method WidgetsFluent.AddFacts
Constructors
public ViewFact(object? value, string? label = null, string? caption = null, ICellPresenter? presenter = null, ThemeToken? role = null, bool newLine = false) #Creates a fact.
Parameters
- value object?
- label string? = null
- caption string? = null
- presenter ConsoleMonster.Presenters.ICellPresenter? = null
- role ConsoleMonster.Styling.ThemeToken? = null
- newLine bool = false
Inherited Methods
Properties
public bool NewLine { get; } #Starts a new line (one line per destination, for example).
public object? Value { get; } #The value, presented by ViewFact.Presenter or automatically.
public ThemeToken? Role { get; } #The value's colour, or null for a neutral muted fact.