Handler for RadMultilineTextInput that provides platform-specific implementations for multiline text input functionality.
Definition
Namespace:Telerik.Maui.Handlers
Assembly:Telerik.Maui.Core.dll
Syntax:
public class RadMultilineTextInputHandler : EditorHandler
Inheritance: objectRadMultilineTextInputHandler
Constructors
Initializes a new instance of the RadMultilineTextInputHandler class.
public RadMultilineTextInputHandler()
Initializes a new instance of the RadMultilineTextInputHandler class with a custom property mapper.
public RadMultilineTextInputHandler(IPropertyMapper propertyMapper)
The property mapper to use, or null to use the default TextInputMapper.
Fields
TextInputMapper
PropertyMapper<IRadMultilineTextInput, RadMultilineTextInputHandler>
The property mapper for text input handlers that maps properties from the virtual element to the platform view.
public static PropertyMapper<IRadMultilineTextInput, RadMultilineTextInputHandler> 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 auto-size related properties (MaxLines, EnableAutoSize) to the handler.
public static void MapAutoSize(RadMultilineTextInputHandler handler, IRadMultilineTextInput virtualElement)
The handler.
virtualElementIRadMultilineTextInputThe virtual element.
Maps the Padding property of the virtual element to the handler and its native view.
public static void MapPadding(RadMultilineTextInputHandler handler, IRadMultilineTextInput virtualElement)
The handler.
virtualElementIRadMultilineTextInputThe virtual element.
Maps the SelectionOnFocus property of the virtual element to the handler and its native view.
public static void MapSelectionOnFocus(RadMultilineTextInputHandler handler, IRadMultilineTextInput virtualElement)
The handler.
virtualElementIRadMultilineTextInputThe virtual element.
Maps the property of the virtual element to the handler and its native view.
public static void MapText(RadMultilineTextInputHandler handler, IRadMultilineTextInput virtualElement)
The handler.
virtualElementIRadMultilineTextInputThe virtual element.
public override void SetVirtualView(IView virtualView)