Provides a base class for label formatters that convert typed values to string representations. This abstract class implements ILabelFormatter to provide type-safe label formatting functionality.
Definition
Namespace:Telerik.Maui.Controls.Compatibility.Chart
Assembly:Telerik.Maui.Controls.Compatibility.dll
Type Parameters:
T
The type of values that this formatter can handle.
Syntax:
C#
public abstract class LabelFormatterBase<T> : ILabelFormatter
Inheritance: objectLabelFormatterBase<T>
Implements:
Constructors
C#
protected LabelFormatterBase()
Properties
Gets the conversion context for the formatter.
C#
public virtual object ConvertionContext { get; }
The conversion context object, or null if no context is available.
Implements:
Methods
Formats an object value into a string representation.
This method casts the object to type T and calls FormatTypedValue(T).