ClassDisplayTextFormatter
Class
Represents a display text formatter that extracts text from objects using a property path.
Definition
Namespace:Telerik.Maui.Controls.AutoComplete
Assembly:Telerik.Maui.Controls.dll
Syntax:
cs-api-definition
public sealed class DisplayTextFormatter : IDisplayTextFormatter
Inheritance: objectDisplayTextFormatter
Implements:
Constructors
DisplayTextFormatter()
Initializes a new instance of the DisplayTextFormatter class with a default property path.
Declaration
cs-api-definition
public DisplayTextFormatter()
DisplayTextFormatter(string)
Initializes a new instance of the DisplayTextFormatter class with the specified display member path.
Declaration
cs-api-definition
public DisplayTextFormatter(string displayMemberPath)
Parameters
displayMemberPath
The property path used to extract display text from objects.
Methods
FormatItem(object)
Formats the specified item by extracting its display text using the configured property path.