Läs på engelska Redigera

Dela via


UIScrollViewKeyboardDismissMode Enum

Definition

An enumeration whose values specify the mode in which the keyboard is dismissed in a scrollview.

C#
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIScrollViewKeyboardDismissMode
Inheritance
UIScrollViewKeyboardDismissMode
Attributes

Fields

Name Value Description
None 0

The keyboard does not get dismissed with a drag.

OnDrag 1

The keyboard is dismissed when a drag begins.

Interactive 2

The keyboard follows the dragging touch offscreen, and can be pulled up again to cancel the dismissal.

Applies to

Produkt Versioner
Xamarin iOS SDK 12

See also