Class
RadTextInputHandler

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

Definition

Namespace:Telerik.Maui.Handlers

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class RadTextInputHandler : EntryHandler

Inheritance: objectRadTextInputHandler

Constructors

RadTextInputHandler()

Initializes a new instance of the RadTextInputHandler class.

Declaration

cs-api-definition
public RadTextInputHandler()

RadTextInputHandler(IPropertyMapper)

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

Declaration

cs-api-definition
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

cs-api-definition
public static PropertyMapper<IRadTextInput, RadTextInputHandler> TextInputMapper

Field Value

PropertyMapper<IRadTextInput, RadTextInputHandler>

Methods

ConnectHandler(AppCompatEditText)

Declaration

cs-api-definition
protected override void ConnectHandler(AppCompatEditText platformView)

Parameters

platformView

AppCompatEditText

CreatePlatformView()

Creates the native counterpart of the handler.

Declaration

cs-api-definition
protected override AppCompatEditText CreatePlatformView()

Returns

AppCompatEditText

DisconnectHandler(AppCompatEditText)

Declaration

cs-api-definition
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

cs-api-definition
public static void MapPadding(RadTextInputHandler handler, IRadTextInput virtualElement)

Parameters

handler

RadTextInputHandler

The handler.

virtualElement

IRadTextInput

The virtual element.

MapSelectionOnFocus(RadTextInputHandler, IRadTextInput)

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

Declaration

cs-api-definition
public static void MapSelectionOnFocus(RadTextInputHandler handler, IRadTextInput virtualElement)

Parameters

handler

RadTextInputHandler

The handler.

virtualElement

IRadTextInput

The virtual element.

MapText(RadTextInputHandler, IRadTextInput)

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

Declaration

cs-api-definition
public static void MapText(RadTextInputHandler handler, IRadTextInput virtualElement)

Parameters

handler

RadTextInputHandler

The handler.

virtualElement

IRadTextInput

The virtual element.

SetVirtualView(IView)

Declaration

cs-api-definition
public override void SetVirtualView(IView virtualView)

Parameters

virtualView

IView