Bewerken

Delen via


UITextDropAction Enum

Definition

Enumerates behaviors in response to dropped text.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITextDropAction
type UITextDropAction = 
Inheritance
UITextDropAction
Attributes

Fields

Name Value Description
Insert 0

Indicates that dropped text is inserted at the insertion point, regardless of whether there is a text selection.

ReplaceSelection 1

Indicates that dropped text replaces the selected text in the target, or is inserted at the drop point if there is no selection.

ReplaceAll 2

Indicates that dropped text replaces all text in the target.

Applies to