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

IRadTextEdit

Interface

Defines the contract for text-editing controls in Telerik UI for .NET MAUI. Implementations provide consistent behavior for text selection on focus, padding, text transformation, and pre-commit text change interception.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public interface IRadTextEdit : ITextInput, IText, ITextStyle, IPlaceholder

Derived Classes: NumericInputTextInput

Properties

Padding

Thickness

Gets a value that specifies the padding of the control.

C#
Thickness Padding { get; }

Gets a value that specifies the modification over the text selection when the control receives focus.

C#
SelectionOnFocus SelectionOnFocus { get; }

Methods

Gets the text with the set TextTransform.

C#
string GetTransformedText(string text)
Parameters:textstring

The text that will be transformed.

Returns:

string

The transformed text.

Occurs when the text starts to change, but before the Text property is updated.

C#
bool TextChanging(string oldText, string newText)
Parameters:oldTextstringnewTextstringReturns:

bool