UITextFieldViewMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An enumeration indicating the behavior of the clear button on a UITextField.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITextFieldViewMode
type UITextFieldViewMode =
- Inheritance
-
UITextFieldViewMode
- Attributes
Fields
Name | Value | Description |
---|---|---|
Never | 0 | The overlay view never appears. |
WhileEditing | 1 | The overly view is displayed only while text is being edited. |
UnlessEditing | 2 | The overlaw view is displayed only while text is not being edited. |
Always | 3 | The overlay view is always displayed. |