New to Telerik UI for .NET MAUIStart a free 30-day trial

Defines the contract for formatting labels in chart elements.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.Chart

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

C#
public interface ILabelFormatter

Derived Classes: LabelFormatterBase<T>

Properties

Gets the context object that provides additional information for the conversion process.

C#
object ConvertionContext { get; }
Property Value:

The context object used during conversion.

Gets the type of values that this formatter can process.

C#
Type ValueType { get; }
Property Value:

The type of values that can be formatted.

Methods

Formats the specified value into a string representation.

C#
string FormatValue(object value)
Parameters:valueobject

The value to format.

Returns:

string

A string representation of the formatted value.