Skip to main content

FormatValue Method

Converts the specified object to a string by using the Converter and ConverterCulture values of the binding object specified by the ValueMemberBinding property.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

protected virtual string? FormatValue(
Object? value
)

Parameters​

  Object
The object to format as a string.

Return Value​

String
The string representation of the specified object.

Remarks​

Override this method to provide a custom string conversion.

See Also​

Reference​

AutoCompleteBox Class
Avalonia.Controls Namespace