Interface
ICellPresenter
ConsoleMonster.Presenters
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 48 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 33
- Method AutoPresenter.For
- Method CellPresenters.ForColumn
- Method CellPresenters.ForLabel
- Method CellPresenters.ForMember
- Method CellPresenters.ForStatus
- Method CellPresenters.FromName
- Property CellPresenters.Auto
- Property CellPresenters.Boolean
- Property CellPresenters.Bytes
- Property CellPresenters.BytesBar
- Property CellPresenters.Chip
- Property CellPresenters.DataBar
- Property CellPresenters.Date
- Property CellPresenters.Duration
- Property CellPresenters.DurationBar
- Property CellPresenters.Emoji
- Property CellPresenters.Identifier
- Property CellPresenters.Link
- Property CellPresenters.Markup
- Property CellPresenters.MemberSignature
- Property CellPresenters.Number
- Property CellPresenters.Progress
- Property CellPresenters.Sparkline
- Property CellPresenters.Status
- Property CellPresenters.StatusWord
- Property CellPresenters.Text
- Property DataBarPresenter.NumberFormat
- Property BarChart.ValuePresenter
- Property KeyValueItem.Presenter
- Property RecordItem.Presenter
- Property TableColumn.Presenter
- Property TreeNode.Presenter
- Property ViewFact.Presenter
Accepted by parameters 15
- Method Grid.Column
- Method CellPresenters.Present
- Constructor DataBarPresenter.DataBarPresenter
- Extension method BarChart.ValuePresenter
- Method BarChartFluent.ValuePresenter
- Method KeyValueItem.ForValue
- Method KeyValueList.Value
- Method RecordView.Field
- Method RecordView.FieldAt
- Method RecordView.Field``1
- Extension method TableColumn.Presenter
- Method TableColumnFluent.Presenter
- Extension method TreeNode.Presenter
- Method TreeNodeFluent.Presenter
- Constructor ViewFact.ViewFact
Methods
public abstract PresentedValue Present(object? value, PresenterContext context) #Presents a value.
Parameters
- value object?
- The raw value (may be null).
- context ConsoleMonster.Presenters.PresenterContext
- Culture, clock, time zone, column statistics and the render context.