ClassRadEntry
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
RadEntry()
Declaration
public RadEntry()
Fields
IsPasswordProperty
Identifies the IsPassword property.
Declaration
public static readonly BindableProperty IsPasswordProperty
Field Value
BindableProperty
ReturnCommandParameterProperty
Identifies the ReturnCommandParameter property.
Declaration
public static readonly BindableProperty ReturnCommandParameterProperty
Field Value
BindableProperty
ReturnCommandProperty
Identifies the ReturnCommand property.
Declaration
public static readonly BindableProperty ReturnCommandProperty
Field Value
BindableProperty
ReturnTypeProperty
Identifies the ReturnType property.
Declaration
public static readonly BindableProperty ReturnTypeProperty
Field Value
BindableProperty
Properties
IsPassword
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.
Declaration
public bool IsPassword { get; set; }
Property Value
Remarks
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.
ReturnCommand
Gets or sets the command to run when the user presses the return key, either physically or on the on-screen keyboard.
ReturnCommandParameter
Gets or sets the parameter object for the ReturnCommand that can be used to provide extra information.
Declaration
public object ReturnCommandParameter { get; set; }
Property Value
ReturnType
Determines what the return key on the on-screen keyboard should look like.
Declaration
public ReturnType ReturnType { get; set; }
Property Value
ReturnType
Methods
CreateDefaultHorizontalTextAlignment()
Creates the default horizontal text alignment for the control.
Declaration
protected override object CreateDefaultHorizontalTextAlignment()
Returns
Overrides
CreateDefaultPadding()
Creates the default padding for the control based on the platform.
Declaration
protected override object CreateDefaultPadding()
Returns
Overrides
CreateDefaultVerticalTextAlignment()
Creates the default vertical text alignment for the control.
Declaration
protected override object CreateDefaultVerticalTextAlignment()
Returns
Overrides
GetDefaultTextInputStyle()
Gets the default text input style for the control.
Declaration
protected override Style GetDefaultTextInputStyle()
Returns
Style
Overrides
OnApplyTemplate()
Called when the control template is applied. Initializes the from the template.
Declaration
protected override void OnApplyTemplate()
Overrides