New to Telerik UI for .NET MAUIStart a free 30-day trial

Handler for RadTextInput that provides platform-specific implementations for text input functionality.

Definition

Namespace:Telerik.Maui.Handlers

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public class RadTextInputHandler : EntryHandler

Inheritance: objectRadTextInputHandler

Constructors

Initializes a new instance of the RadTextInputHandler class.

C#
public RadTextInputHandler()

Initializes a new instance of the RadTextInputHandler class with a custom property mapper.

C#
public RadTextInputHandler(IPropertyMapper propertyMapper)
Parameters:propertyMapperIPropertyMapper

The property mapper to use, or null to use the default TextInputMapper.

Fields

The property mapper for text input handlers that maps properties from the virtual element to the platform view.

C#
public static PropertyMapper<IRadTextInput, RadTextInputHandler> TextInputMapper

Methods

C#
protected override void ConnectHandler(AppCompatEditText platformView)
Parameters:platformViewAppCompatEditText

CreatePlatformView()

AppCompatEditText

Creates the native counterpart of the handler.

C#
protected override AppCompatEditText CreatePlatformView()
Returns:

AppCompatEditText

C#
protected override void DisconnectHandler(AppCompatEditText platformView)
Parameters:platformViewAppCompatEditText

Maps the Padding property of the virtual element to the handler and its native view.

C#
public static void MapPadding(RadTextInputHandler handler, IRadTextInput virtualElement)
Parameters:handlerRadTextInputHandler

The handler.

virtualElementIRadTextInput

The virtual element.

Maps the SelectionOnFocus property of the virtual element to the handler and its native view.

C#
public static void MapSelectionOnFocus(RadTextInputHandler handler, IRadTextInput virtualElement)
Parameters:handlerRadTextInputHandler

The handler.

virtualElementIRadTextInput

The virtual element.

Maps the property of the virtual element to the handler and its native view.

C#
public static void MapText(RadTextInputHandler handler, IRadTextInput virtualElement)
Parameters:handlerRadTextInputHandler

The handler.

virtualElementIRadTextInput

The virtual element.

C#
public override void SetVirtualView(IView virtualView)
Parameters:virtualViewIView