ITypeConverter<T>
Interface
Defines a contract for converting between source objects and native objects of type T.
Definition
Namespace:Telerik.Maui.Controls.Compatibility.Common
Assembly:Telerik.Maui.Controls.Compatibility.dll
Type Parameters:
T
The type of the native object.
Syntax:
C#
public interface ITypeConverter<T>
Derived Classes:
Methods
Converts a source object to the native type.
C#
T Convert(object sourceObject)
The source object to convert.
Returns:T
The converted object of type T.
Converts a native object back to its source representation.
C#
object ConvertBack(T nativeObject)
The native object of type T to convert back.
The converted source object.