RadTextInputHandler
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
Initializes a new instance of the RadTextInputHandler class.
public RadTextInputHandler()
Initializes a new instance of the RadTextInputHandler class with a custom property mapper.
public RadTextInputHandler(IPropertyMapper propertyMapper)
The property mapper to use, or null to use the default TextInputMapper.
Fields
TextInputMapper
PropertyMapper<IRadTextInput, RadTextInputHandler>
The property mapper for text input handlers that maps properties from the virtual element to the platform view.
public static PropertyMapper<IRadTextInput, RadTextInputHandler> TextInputMapper
Methods
protected override void ConnectHandler(AppCompatEditText platformView)
CreatePlatformView()
AppCompatEditText
Creates the native counterpart of the handler.
protected override AppCompatEditText CreatePlatformView()
AppCompatEditText
protected override void DisconnectHandler(AppCompatEditText platformView)
Maps the Padding property of the virtual element to the handler and its native view.
public static void MapPadding(RadTextInputHandler handler, IRadTextInput virtualElement)
The handler.
virtualElementIRadTextInputThe virtual element.
Maps the SelectionOnFocus property of the virtual element to the handler and its native view.
public static void MapSelectionOnFocus(RadTextInputHandler handler, IRadTextInput virtualElement)
The handler.
virtualElementIRadTextInputThe virtual element.
Maps the property of the virtual element to the handler and its native view.
public static void MapText(RadTextInputHandler handler, IRadTextInput virtualElement)
The handler.
virtualElementIRadTextInputThe virtual element.
public override void SetVirtualView(IView virtualView)