Share via


IEntry Interface

Definition

Represents a IView that is used for single-line text input.

public interface class IEntry : Microsoft::Maui::ITextAlignment, Microsoft::Maui::ITextInput, Microsoft::Maui::IView
public interface IEntry : Microsoft.Maui.ITextAlignment, Microsoft.Maui.ITextInput, Microsoft.Maui.IView
type IEntry = interface
    interface IView
    interface IElement
    interface ITransform
    interface ITextInput
    interface IText
    interface ITextStyle
    interface IPlaceholder
    interface ITextAlignment
Public Interface IEntry
Implements ITextAlignment, ITextInput, IView
Derived
Implements

Properties

AnchorX

Gets the X component of the center point for any transform, relative to the bounds of the element.

(Inherited from ITransform)
AnchorY

Gets the Y component of the center point for any transform, relative to the bounds of the element.

(Inherited from ITransform)
AutomationId

Id used by automation tools to interact with this View

(Inherited from IView)
Background

Gets the paint which will fill the background of a View.

(Inherited from IView)
CharacterSpacing

Gets the spacing between characters of the text.

(Inherited from ITextStyle)
ClearButtonVisibility

Gets an enumeration value that shows/hides clear button on the Entry.

Clip

Gets the Path used to define the outline of the contents of a View.

(Inherited from IView)
CursorPosition

Gets or sets the position of the cursor.

(Inherited from ITextInput)
DesiredSize

Gets the current desired Size of this View.

(Inherited from IView)
FlowDirection

Direction in which the UI elements are scanned by the eye

(Inherited from IView)
Font

Gets the font family, style and size of the font.

(Inherited from ITextStyle)
Frame

Gets the bounds of the View within its container.

(Inherited from IView)
Handler

Gets or sets the View Handler of the View.

(Inherited from IView)
Height

Gets the specified height of the IView.

(Inherited from IView)
HorizontalLayoutAlignment

Determines the horizontal aspect of this element's arrangement in a container

(Inherited from IView)
HorizontalTextAlignment

Gets the horizontal text alignment.

(Inherited from ITextAlignment)
InputTransparent

Gets a value indicating whether this element should be involved in the user interaction cycle.

(Inherited from IView)
IsEnabled

Gets a value indicating whether this View is enabled in the user interface.

(Inherited from IView)
IsFocused

Gets a value indicating whether this View is focused currently.

(Inherited from IView)
IsPassword

Gets a value that indicates if the entry should visually obscure typed text.

IsReadOnly

Gets a value indicating whether or not the view is read-only.

(Inherited from ITextInput)
IsSpellCheckEnabled

Gets a value that controls whether spellchecking is on or off.

(Inherited from ITextInput)
IsTextPredictionEnabled

Gets a value that controls whether text prediction and automatic text correction is on or off.

(Inherited from ITextInput)
Keyboard

Gets the keyboard input type.

(Inherited from ITextInput)
Margin

The Margin represents the distance between an view and its adjacent views.

(Inherited from IView)
MaximumHeight

Gets the specified maximum height constraint of the IView, between zero and double.PositiveInfinity.

(Inherited from IView)
MaximumWidth

Gets the specified maximum width constraint of the IView, between zero and double.PositiveInfinity.

(Inherited from IView)
MaxLength

Gets the maximum allowed length of input.

(Inherited from ITextInput)
MinimumHeight

Gets the specified minimum height constraint of the IView, between zero and double.PositiveInfinity.

(Inherited from IView)
MinimumWidth

Gets the specified minimum width constraint of the IView, between zero and double.PositiveInfinity.

(Inherited from IView)
Opacity

Gets the opacity value applied to the view when it is rendered.

(Inherited from IView)
Parent

Gets the Parent of the Element.

(Inherited from IElement)
Placeholder

Gets the placeholder or hint text.

(Inherited from IPlaceholder)
PlaceholderColor

Gets or sets the placeholder text color.

(Inherited from IPlaceholder)
ReturnType

Gets an enumeration value that controls the appearance of the return button.

Rotation

Gets the rotation (in degrees) about the Z-axis (affine rotation) when the element is rendered.

(Inherited from ITransform)
RotationX

Gets the rotation (in degrees) about the X-axis (perspective rotation) when the element is rendered.

(Inherited from ITransform)
RotationY

Gets the rotation (in degrees) about the Y-axis (perspective rotation) when the element is rendered.

(Inherited from ITransform)
Scale

Gets the scale factor applied to the element.

(Inherited from ITransform)
ScaleX

Gets the scale about the X-axis factor applied to the element.

(Inherited from ITransform)
ScaleY

Gets the scale about the Y-axis factor applied to the element.

(Inherited from ITransform)
SelectionLength

Gets the length of the selection.

(Inherited from ITextInput)
Semantics

Adds semantics to every View for accessibility

(Inherited from IView)
Shadow

Paints a shadow around the target View.

(Inherited from IView)
Text

Gets or sets the text.

(Inherited from ITextInput)
TextColor

Gets the text color.

(Inherited from ITextStyle)
TranslationX

Gets the X translation delta of the element.

(Inherited from ITransform)
TranslationY

Gets the Y translation delta of the element.

(Inherited from ITransform)
VerticalLayoutAlignment

Determines the vertical aspect of this element's arrangement in a container

(Inherited from IView)
VerticalTextAlignment

Gets the vertical text alignment.

(Inherited from ITextAlignment)
Visibility

Gets a value that determines whether this View should be part of the visual tree or not.

(Inherited from IView)
Width

Gets the specified width of the IView.

(Inherited from IView)
ZIndex

Determines the drawing order of this IView within an ILayout; higher z-indexes will draw over lower z-indexes.

(Inherited from IView)

Methods

Arrange(Rect)

Positions child elements and determines a size for an Element.

(Inherited from IView)
Completed()

Occurs when the user finalizes the text in an entry with the return key.

Focus()

Attempts to set focus to this View.

(Inherited from IView)
InvalidateArrange()

Method that is called to invalidate the layout of this View.

(Inherited from IView)
InvalidateMeasure()

Signals that the current measure value of this View is no longer valid and must be recomputed during the next measure pass.

(Inherited from IView)
Measure(Double, Double)

Updates the size of an View.

(Inherited from IView)
Unfocus()

Unsets focus to this View.

(Inherited from IView)

Extension Methods

CheckHandlers(IView)
UpdateText(ITextInput, String)
ComputeDesiredSize(IView, Double, Double)
ComputeFrame(IView, Rect)
ToHandler(IElement, IMauiContext)
ToPlatform(IElement, IMauiContext)
ToHandler(IView, IMauiContext)
SetSemanticFocus(IView)
HideSoftInputAsync(ITextInput, CancellationToken)

If a soft input pane is currently showing, this will attempt to hide it.

IsSoftInputShowing(ITextInput)

Checks to see if the platform is currently showing the soft input pane

ShowSoftInputAsync(ITextInput, CancellationToken)

If a soft input pane is currently hiding, this will attempt to show it.

CaptureAsync(IView)
DisconnectHandlers(IView)

Applies to