Share via


UITextDropAction 列舉

定義

列舉回應已捨棄文字的行為。

[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 = 
繼承
UITextDropAction
屬性

欄位

Insert 0

指出不論是否有文字選取範圍,卸載的文字都會插入插入點。

ReplaceAll 2

表示卸載的文字會取代目標中的所有文字。

ReplaceSelection 1

表示卸載的文字會取代目標中的選取文字,如果沒有選取專案,則會插入置放點。

適用於