API Reference
Class
KeyValueItem
One pair in a KeyValueList.
Inheritance
- Object
- KeyValueItem
Usage
Explore 1 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 KeyValueList.Items
Constructors
public KeyValueItem(String key, String value, StatusKind? status = null) #Creates a pair.
Parameters
- key System.String
- The key (plain text).
- value System.String
- The value (markup).
- status ConsoleMonster.Styling.StatusKind? = null
- An optional status marker.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public TableCell? Cell { get; internal set; } #A raw value shown through KeyValueItem.Presenter instead of KeyValueItem.Value, or null.
public ICellPresenter? Presenter { get; internal set; } #The presenter for KeyValueItem.Cell, or null for automatic.
public IReadOnlyList<ToneRule>? Rules { get; internal set; } #Tone rules for KeyValueItem.Cell, or null.