iOS Guides | Samples

MonoTouch.UIKit.UITextFieldViewMode Enumeration

An enumeration indicating the behavior of the clear button on a UITextField.

Syntax

[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITextFieldViewMode

Members

Member NameDescription
AlwaysThe overlay view is always displayed.
NeverThe overlay view never appears.
UnlessEditingThe overlaw view is displayed only while text is not being edited.
WhileEditingThe overly view is displayed only while text is being edited.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UITextFieldViewMode are listed below.

See Also: Enum

Public Fields

AlwaysUITextFieldViewMode. The overlay view is always displayed.
NeverUITextFieldViewMode. The overlay view never appears.
UnlessEditingUITextFieldViewMode. The overlaw view is displayed only while text is not being edited.
WhileEditingUITextFieldViewMode. The overly view is displayed only while text is being edited.