RadEntry
RadEntry is a single line text entry. It is best used for collecting small discrete pieces of information, like usernames and passwords.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadEntry : RadInputView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadInputViewRadEntry
Implements:
Inherited Members
Constructors
public RadEntry()
Fields
IsPasswordProperty
BindableProperty
Identifies the IsPassword property.
public static readonly BindableProperty IsPasswordProperty
ReturnCommandParameterProperty
BindableProperty
Identifies the ReturnCommandParameter property.
public static readonly BindableProperty ReturnCommandParameterProperty
ReturnCommandProperty
BindableProperty
Identifies the ReturnCommand property.
public static readonly BindableProperty ReturnCommandProperty
ReturnTypeProperty
BindableProperty
Identifies the ReturnType property.
public static readonly BindableProperty ReturnTypeProperty
Properties
Gets or sets a value that indicates if the entry should visually obscure typed text. Value is true if the element is a password box; otherwise, false. Default value is false.
public bool IsPassword { get; set; }
Toggling this value does not reset the contents of the entry, therefore it is advisable to be careful about setting IsPassword to false, as it may contain sensitive information.
Gets or sets the command to run when the user presses the return key, either physically or on the on-screen keyboard.
public ICommand ReturnCommand { get; set; }
Gets or sets the parameter object for the ReturnCommand that can be used to provide extra information.
public object ReturnCommandParameter { get; set; }
ReturnType
ReturnType
Determines what the return key on the on-screen keyboard should look like.
public ReturnType ReturnType { get; set; }
Methods
Creates the default horizontal text alignment for the control.
Creates the default padding for the control based on the platform.
Creates the default vertical text alignment for the control.
Gets the default text input style for the control.
protected override Style GetDefaultTextInputStyle()
Style
Overrides:
Called when the control template is applied. Initializes the from the template.
protected override void OnApplyTemplate()
Overrides: