Skip to main content

TextInputOptions Class

Definition

Namespace: Avalonia.Input.TextInput
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class TextInputOptions
View Source
InheritanceObject → TextInputOptions

Constructors

TextInputOptions()Initializes a new instance of the TextInputOptions class

Properties

AutoCapitalizationAutomatically capitalize letters at the start of the sentence
ContentTypeThe content type (mostly for determining the shape of the virtual keyboard)
IsSensitiveText contains sensitive data like card numbers and should not be stored
LowercaseText is in lower case
MultilineText is multiline
ReturnKeyTypeDetermines what the Return key says and how it behaves.
UppercaseText is in upper case

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FromStyledElement(StyledElement) 
GetAutoCapitalization(StyledElement)Gets the value of the attached AutoCapitalizationProperty.
GetContentType(StyledElement)Gets the value of the attached ContentTypeProperty.
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetIsSensitive(StyledElement)Gets the value of the attached IsSensitiveProperty.
GetLowercase(StyledElement)Gets the value of the attached LowercaseProperty.
GetMultiline(StyledElement)Gets the value of the attached MultilineProperty.
GetReturnKeyType(StyledElement)Gets the value of the attached ReturnKeyTypeProperty.
GetType()Gets the Type of the current instance.
(Inherited from Object)
GetUppercase(StyledElement)Gets the value of the attached UppercaseProperty.
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
SetAutoCapitalization(StyledElement, Boolean)Sets the value of the attached AutoCapitalizationProperty on a control.
SetContentType(StyledElement, TextInputContentType)Sets the value of the attached ContentTypeProperty on a control.
SetIsSensitive(StyledElement, Boolean)Sets the value of the attached IsSensitiveProperty on a control.
SetLowercase(StyledElement, Boolean)Sets the value of the attached LowercaseProperty on a control.
SetMultiline(StyledElement, Boolean)Sets the value of the attached MultilineProperty on a control.
SetReturnKeyType(StyledElement, TextInputReturnKeyType)Sets the value of the attached ReturnKeyTypeProperty on a control.
SetUppercase(StyledElement, Boolean)Sets the value of the attached UppercaseProperty on a control.
ToString()Returns a string that represents the current object.
(Inherited from Object)

Fields

AutoCapitalizationPropertyDefines the AutoCapitalization property.
ContentTypePropertyDefines the ContentType property.
Default 
IsSensitivePropertyDefines the IsSensitive property.
LowercasePropertyDefines the Lowercase property.
MultilinePropertyDefines the Multiline property.
ReturnKeyTypePropertyDefines the ReturnKeyType property.
UppercasePropertyDefines the Uppercase property.

See Also

Reference

Avalonia.Input.TextInput Namespace