ClassRadTextInputHandler
Handler for RadTextInput that provides platform-specific implementations for text input functionality.
Definition
Namespace:Telerik.Maui.Handlers
Assembly:Telerik.Maui.Core.dll
Syntax:
public class RadTextInputHandler : EntryHandler
Inheritance: objectRadTextInputHandler
Constructors
RadTextInputHandler()
Initializes a new instance of the RadTextInputHandler class.
Declaration
public RadTextInputHandler()
RadTextInputHandler(IPropertyMapper)
Initializes a new instance of the RadTextInputHandler class with a custom property mapper.
Declaration
public RadTextInputHandler(IPropertyMapper propertyMapper)
Parameters
propertyMapper
IPropertyMapper
The property mapper to use, or null to use the default TextInputMapper.
Fields
TextInputMapper
The property mapper for text input handlers that maps properties from the virtual element to the platform view.
Declaration
public static PropertyMapper<IRadTextInput, RadTextInputHandler> TextInputMapper
Field Value
PropertyMapper<IRadTextInput, RadTextInputHandler>
Methods
ConnectHandler(AppCompatEditText)
Declaration
protected override void ConnectHandler(AppCompatEditText platformView)
Parameters
platformView
AppCompatEditText
CreatePlatformView()
Creates the native counterpart of the handler.
Declaration
protected override AppCompatEditText CreatePlatformView()
Returns
AppCompatEditText
DisconnectHandler(AppCompatEditText)
Declaration
protected override void DisconnectHandler(AppCompatEditText platformView)
Parameters
platformView
AppCompatEditText
MapPadding(RadTextInputHandler, IRadTextInput)
Maps the Padding property of the virtual element to the handler and its native view.
Declaration
public static void MapPadding(RadTextInputHandler handler, IRadTextInput virtualElement)
Parameters
handler
The handler.
virtualElement
The virtual element.
MapSelectionOnFocus(RadTextInputHandler, IRadTextInput)
Maps the SelectionOnFocus property of the virtual element to the handler and its native view.
Declaration
public static void MapSelectionOnFocus(RadTextInputHandler handler, IRadTextInput virtualElement)
Parameters
handler
The handler.
virtualElement
The virtual element.
MapText(RadTextInputHandler, IRadTextInput)
Maps the property of the virtual element to the handler and its native view.
Declaration
public static void MapText(RadTextInputHandler handler, IRadTextInput virtualElement)
Parameters
handler
The handler.
virtualElement
The virtual element.
SetVirtualView(IView)
Declaration
public override void SetVirtualView(IView virtualView)
Parameters
virtualView
IView