Upravit

Sdílet prostřednictvím


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

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.

Applies to