UITextFieldViewMode Enum

Definition

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

Always 3

The overlay view is always displayed.

Never 0

The overlay view never appears.

UnlessEditing 2

The overlaw view is displayed only while text is not being edited.

WhileEditing 1

The overly view is displayed only while text is being edited.

Applies to