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

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

Definition

Namespace:Telerik.Maui.Handlers

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public class RadMultilineTextInputHandler : EditorHandler

Inheritance: objectRadMultilineTextInputHandler

Constructors

Initializes a new instance of the RadMultilineTextInputHandler class.

C#
public RadMultilineTextInputHandler()

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

C#
public RadMultilineTextInputHandler(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<IRadMultilineTextInput, RadMultilineTextInputHandler> 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 auto-size related properties (MaxLines, EnableAutoSize) to the handler.

C#
public static void MapAutoSize(RadMultilineTextInputHandler handler, IRadMultilineTextInput virtualElement)
Parameters:handlerRadMultilineTextInputHandler

The handler.

virtualElementIRadMultilineTextInput

The virtual element.

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

C#
public static void MapPadding(RadMultilineTextInputHandler handler, IRadMultilineTextInput virtualElement)
Parameters:handlerRadMultilineTextInputHandler

The handler.

virtualElementIRadMultilineTextInput

The virtual element.

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

C#
public static void MapSelectionOnFocus(RadMultilineTextInputHandler handler, IRadMultilineTextInput virtualElement)
Parameters:handlerRadMultilineTextInputHandler

The handler.

virtualElementIRadMultilineTextInput

The virtual element.

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

C#
public static void MapText(RadMultilineTextInputHandler handler, IRadMultilineTextInput virtualElement)
Parameters:handlerRadMultilineTextInputHandler

The handler.

virtualElementIRadMultilineTextInput

The virtual element.

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