DefaultValueDisplay<T>
Gets the default display proxy for data. The default display assumes the existence of a primary and optional secondary textual description of a value.
Type parameters:
| T |
Constructors
DefaultValueDisplay
#Create a new proxy with custom texts.
Parameters:
| pear (Pear<T>) | |
| description (LazyStrings) |
DefaultValueDisplay
#Create a new proxy with custom texts.
Properties
Methods
AddDetail
#Register a detailed description for a fragment of the primary description. The fragment must occur verbatim in the primary string at the given index, otherwise the detail is ignored. To describe the entire value, register the whole primary string as the fragment.
Parameters:
| context (Context) | |
| font (Font) | |
| background (Color) | |
| frame (ValueDisplayFrame) |
Implements: Draw