TextInputOptions Class

Definition

Namespace: Avalonia.Input.TextInput
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public class TextInputOptions
Inheritance
Object    TextInputOptions

Properties

AutoCapitalization Automatically capitalize letters at the start of the sentence
ContentType The content type (mostly for determining the shape of the virtual keyboard)
IsSensitive Text contains sensitive data like card numbers and should not be stored
Lowercase Text is in lower case
Multiline Text is multiline
ReturnKeyType Determines what the Return key says and how it behaves.
Uppercase Text is in upper case

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows 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.
GetHashCodeServes 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.
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetUppercase(StyledElement) Gets the value of the attached UppercaseProperty.
MemberwiseCloneCreates 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.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

AutoCapitalizationProperty Defines the AutoCapitalization property.
ContentTypeProperty Defines the ContentType property.
Default 
IsSensitiveProperty Defines the IsSensitive property.
LowercaseProperty Defines the Lowercase property.
MultilineProperty Defines the Multiline property.
ReturnKeyTypeProperty Defines the ReturnKeyType property.
UppercaseProperty Defines the Uppercase property.

See Also