UITextFieldViewMode 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
UITextFieldViewModeUITextFieldViewMode
Attributes

Fields

Always Always 3

The overlay view is always displayed.

Never Never 0

The overlay view never appears.

UnlessEditing UnlessEditing 2

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

WhileEditing WhileEditing 1

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

Applies to