API Reference
Interface
ICellPresenter
Turns a raw value into what a cell shows. Presenters are shared by tables, record cards, record views, key/value lists and trees, and must stay readable without colour: status, booleans and tone rules always carry a symbol or a word, never colour alone.
Usage
Explore 34 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 24
- Method AutoPresenter.For
- Method CellPresenters.ForMember
- Method CellPresenters.FromName
- Property CellPresenters.Auto
- Property CellPresenters.Boolean
- Property CellPresenters.Bytes
- Property CellPresenters.DataBar
- Property CellPresenters.Date
- Property CellPresenters.Duration
- Property CellPresenters.Emoji
- Property CellPresenters.Identifier
- Property CellPresenters.Link
- Property CellPresenters.Markup
- Property CellPresenters.Number
- Property CellPresenters.Progress
- Property CellPresenters.Sparkline
- Property CellPresenters.Status
- Property CellPresenters.StatusWord
- Property CellPresenters.Text
- Property DataBarPresenter.NumberFormat
- Property KeyValueItem.Presenter
- Property RecordItem.Presenter
- Property TableColumn.Presenter
- Property TreeNode.Presenter
Accepted by parameters 10
- Method Grid.AddColumn
- Method CellPresenters.Present
- Constructor DataBarPresenter.DataBarPresenter
- Method KeyValueList.AddValue
- Method RecordView.AddField
- Method RecordView.AddFieldAt
- Extension method TableColumn.WithPresenter
- Method TableColumnFluent.WithPresenter
- Extension method TreeNode.WithPresenter
- Method TreeNodeFluent.WithPresenter
Methods
public abstract PresentedValue Present(Object? value, PresenterContext context) #Returns:
PresentedValuePresents a value.
Parameters
- value System.Object?
- The raw value (may be null).
- context ConsoleMonster.Presenters.PresenterContext
- Culture, clock, time zone, column statistics and the render context.
Returns
The presented value.