Class
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:

cs-api-definition
public class RadEntry : RadInputView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadInputViewRadEntry

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members RadInputView.BorderBrushPropertyRadInputView.BorderThicknessPropertyRadInputView.CornerRadiusPropertyRadInputView.BackgroundColorPropertyRadInputView.BackgroundPropertyRadInputView.TextPropertyRadInputView.SelectionOnFocusPropertyRadInputView.HorizontalTextAlignmentPropertyRadInputView.VerticalTextAlignmentPropertyRadInputView.KeyboardPropertyRadInputView.IsSpellCheckEnabledPropertyRadInputView.IsTextPredictionEnabledPropertyRadInputView.IsReadOnlyPropertyRadInputView.TextColorPropertyRadInputView.CharacterSpacingPropertyRadInputView.TextTransformPropertyRadInputView.CursorPositionPropertyRadInputView.SelectionLengthPropertyRadInputView.FontAttributesPropertyRadInputView.FontFamilyPropertyRadInputView.FontSizePropertyRadInputView.FontAutoScalingEnabledPropertyRadInputView.IsValueValidPropertyRadInputView.ValidationErrorMessagePropertyRadInputView.ValidationErrorColorPropertyRadInputView.ValidationErrorImageStylePropertyRadInputView.ValidationErrorLabelStylePropertyRadInputView.ReserveSpaceForErrorViewPropertyRadInputView.ClearButtonVisibilityPropertyRadInputView.ClearButtonStylePropertyRadInputView.MaxLengthPropertyRadInputView.PlaceholderPropertyRadInputView.PlaceholderColorPropertyRadInputView.PaddingPropertyRadInputView.MouseOverStateRadInputView.ReadOnlyStateRadInputView.ReadOnlyInvalidFocusedStateRadInputView.ReadOnlyFocusedStateRadInputView.ReadOnlyInvalidStateRadInputView.InvalidStateRadInputView.InvalidFocusedStateRadInputView.ChangeVisualState()RadInputView.BorderBrushRadInputView.BorderThicknessRadInputView.CornerRadiusRadInputView.BackgroundColorRadInputView.BackgroundRadInputView.TextRadInputView.SelectionOnFocusRadInputView.HorizontalTextAlignmentRadInputView.VerticalTextAlignmentRadInputView.KeyboardRadInputView.IsSpellCheckEnabledRadInputView.IsTextPredictionEnabledRadInputView.IsReadOnlyRadInputView.TextColorRadInputView.CharacterSpacingRadInputView.TextTransformRadInputView.CursorPositionRadInputView.SelectionLengthRadInputView.FontAttributesRadInputView.FontFamilyRadInputView.FontSizeRadInputView.FontAutoScalingEnabledRadInputView.IsValueValidRadInputView.ValidationErrorMessageRadInputView.ValidationErrorColorRadInputView.ValidationErrorImageStyleRadInputView.ValidationErrorLabelStyleRadInputView.ReserveSpaceForErrorViewRadInputView.ClearButtonVisibilityRadInputView.ClearButtonStyleRadInputView.MaxLengthRadInputView.PlaceholderRadInputView.PlaceholderColorRadInputView.PaddingRadInputView.TextChangingRadInputView.TextChangedRadInputView.CompletedRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()

Constructors

RadEntry()

Declaration

cs-api-definition
public RadEntry()

Fields

IsPasswordProperty

Identifies the IsPassword property.

Declaration

cs-api-definition
public static readonly BindableProperty IsPasswordProperty

Field Value

BindableProperty

ReturnCommandParameterProperty

Identifies the ReturnCommandParameter property.

Declaration

cs-api-definition
public static readonly BindableProperty ReturnCommandParameterProperty

Field Value

BindableProperty

ReturnCommandProperty

Identifies the ReturnCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty ReturnCommandProperty

Field Value

BindableProperty

ReturnTypeProperty

Identifies the ReturnType property.

Declaration

cs-api-definition
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

cs-api-definition
public bool IsPassword { get; set; }

Property Value

bool

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.

Declaration

cs-api-definition
public ICommand ReturnCommand { get; set; }

Property Value

ICommand

ReturnCommandParameter

Gets or sets the parameter object for the ReturnCommand that can be used to provide extra information.

Declaration

cs-api-definition
public object ReturnCommandParameter { get; set; }

Property Value

object

ReturnType

Determines what the return key on the on-screen keyboard should look like.

Declaration

cs-api-definition
public ReturnType ReturnType { get; set; }

Property Value

ReturnType

Methods

CreateDefaultHorizontalTextAlignment()

Creates the default horizontal text alignment for the control.

Declaration

cs-api-definition
protected override object CreateDefaultHorizontalTextAlignment()

Returns

object

Overrides RadInputView.CreateDefaultHorizontalTextAlignment()

CreateDefaultPadding()

Creates the default padding for the control based on the platform.

Declaration

cs-api-definition
protected override object CreateDefaultPadding()

Returns

object

Overrides RadInputView.CreateDefaultPadding()

CreateDefaultVerticalTextAlignment()

Creates the default vertical text alignment for the control.

Declaration

cs-api-definition
protected override object CreateDefaultVerticalTextAlignment()

Returns

object

Overrides RadInputView.CreateDefaultVerticalTextAlignment()

GetDefaultTextInputStyle()

Gets the default text input style for the control.

Declaration

cs-api-definition
protected override Style GetDefaultTextInputStyle()

Returns

Style

Overrides RadInputView.GetDefaultTextInputStyle()

OnApplyTemplate()

Called when the control template is applied. Initializes the from the template.

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadCompositeContentView.OnApplyTemplate()