TextInputOptions Class
Definition
Namespace: Avalonia.Input.TextInput
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public class TextInputOptions
Public Class TextInputOptions
type TextInputOptions = class end
| Inheritance | Object → TextInputOptions |
Constructors
| TextInputOptions() | Initializes a new instance of the TextInputOptions class |
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. |
| ShowSuggestions | Show virtual keyboard suggestions |
| Uppercase | Text 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. |
| GetShowSuggestions(StyledElement) | Gets the value of the attached ShowSuggestionsProperty. |
| 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. |
| SetShowSuggestions(StyledElement, Nullable(Boolean)) | Sets the value of the attached ShowSuggestionsProperty 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
| 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. |
| ShowSuggestionsProperty | Defines the ShowSuggestions property. |
| UppercaseProperty | Defines the Uppercase property. |