Class
DataGridCell
ConsoleMonster.Interactive
A cell computed on demand when it first enters a grid viewport. The factory runs on a worker and never owns UI state.
Inheritance
- object
- DataGridCell
Constructors
DataGridCell 2 overloads
public DataGridCell(Func<CancellationToken, Task<object?>> value, string placeholder = "…") #Creates an asynchronous cell. Use a fresh cell for a new listing or a changed value.
Parameters
- value System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<object?>>
- placeholder string = "…"
public DataGridCell(Func<object?> value, string placeholder = "…") #Creates a lazy synchronous cell; computation is still moved off the renderer.
Parameters
- value System.Func<object?>
- placeholder string = "…"
Inherited Methods
Properties
public Exception? Error { get; } #The failure, or null. A failed cell displays its placeholder and does not close the app.