Share via


IUITextDroppable 介面

定義

接受已卸載文字資料的介面。

[Foundation.Protocol(Name="UITextDroppable", WrapperType=typeof(UIKit.UITextDroppableWrapper))]
[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 interface IUITextDroppable : IDisposable, UIKit.IUITextInput, UIKit.IUITextPasteConfigurationSupporting
type IUITextDroppable = interface
    interface INativeObject
    interface IDisposable
    interface IUIKeyInput
    interface IUITextInputTraits
    interface IUIPasteConfigurationSupporting
    interface IUITextInput
    interface IUITextPasteConfigurationSupporting
衍生
屬性
實作

屬性

AutocapitalizationType

UITextAutocapitalizationType 所使用的 IUITextInput

(繼承來源 IUITextInputTraits)
AutocorrectionType

UITextAutocorrectionType 所使用的 IUITextInput

(繼承來源 IUITextInputTraits)
BeginningOfDocument

文字的位置,指出檔的開頭。

(繼承來源 IUITextInput)
EnablesReturnKeyAutomatically

是否自動啟用傳回金鑰。

(繼承來源 IUITextInputTraits)
EndOfDocument

文字的位置,指出檔的開頭。

(繼承來源 IUITextInput)
Handle

處理 unmanaged 物件標記法) (指標。

(繼承來源 INativeObject)
HasText

取得值,指出索引鍵輸入中是否有文字。

(繼承來源 IUIKeyInput)
KeyboardAppearance

UIKeyboardAppearance所使用的IUITextInput

(繼承來源 IUITextInputTraits)
KeyboardType

UIKeyboardType 所使用的 IUITextInput

(繼承來源 IUITextInputTraits)
MarkedTextRange

指定檔中目前標示的文字範圍。

(繼承來源 IUITextInput)
MarkedTextStyle

描述如何繪製文字的屬性字典。

(繼承來源 IUITextInput)
PasteConfiguration

物件 UIPasteConfiguration 支援的 this

(繼承來源 IUIPasteConfigurationSupporting)
PasteDelegate

取得處理文字貼上和文字置放的委派。

(繼承來源 IUITextPasteConfigurationSupporting)
ReturnKeyType

的傳回索引鍵 IUITextInput 形式。

(繼承來源 IUITextInputTraits)
SecureTextEntry

是否應該隱藏輸入的文字。

(繼承來源 IUITextInputTraits)
SelectedTextRange

檔的選取文字範圍。

(繼承來源 IUITextInput)
SpellCheckingType

取得或設定值,這個值會指出拼字檢查是開啟、關閉,還是只有在啟用自動完成時,才會啟用拼字檢查, (預設) 。

(繼承來源 IUITextInputTraits)
TextDropActive

取得布林值,指出檢視上是否有使用中文字置放會話。

TextDropDelegate

取得或設定管理文字置放行為的委派。

TextDropInteraction

取得文字檢視上的置放互動。

WeakInputDelegate

表示弱式輸入委派。

(繼承來源 IUITextInput)
WeakTokenizer

表示弱式權杖化程式。

(繼承來源 IUITextInput)

方法

ComparePosition(UITextPosition, UITextPosition)

取得一個位置與另一個位置的比較。

(繼承來源 IUITextInput)
DeleteBackward()

接受已卸載文字資料的介面。

(繼承來源 IUIKeyInput)
GetBaseWritingDirection(UITextPosition, UITextStorageDirection)

取得文字位置的基底書寫方向。

(繼承來源 IUITextInput)
GetCaretRectForPosition(UITextPosition)

用於在指定插入點繪製插入號的矩形。

(繼承來源 IUITextInput)
GetCharacterRange(UITextPosition, UITextLayoutDirection)

取得定義方向限制內的字元範圍。

(繼承來源 IUITextInput)
GetCharacterRangeAtPoint(CGPoint)

取得檔中存在於指定點的字元或字元範圍。

(繼承來源 IUITextInput)
GetClosestPositionToPoint(CGPoint)

取得檔中最接近指定點的位置。

(繼承來源 IUITextInput)
GetClosestPositionToPoint(CGPoint, UITextRange)

接受已卸載文字資料的介面。

(繼承來源 IUITextInput)
GetFirstRectForRange(UITextRange)

取得第一個矩形,以括住指定的檔文字範圍。

(繼承來源 IUITextInput)
GetOffsetFromPosition(UITextPosition, UITextPosition)

取得兩個已定義文字位置之間的可見字元數目。

(繼承來源 IUITextInput)
GetPosition(UITextPosition, nint)

從初始位置取得字元位移。

(繼承來源 IUITextInput)
GetPosition(UITextPosition, UITextLayoutDirection, nint)

從初始位置取得字元位移。

(繼承來源 IUITextInput)
GetPositionWithinRange(UITextRange, UITextLayoutDirection)

取得指定範圍內的位置。

(繼承來源 IUITextInput)
GetSelectionRects(UITextRange)

取得對應至文字範圍的選取範圍矩形陣列。

(繼承來源 IUITextInput)
GetTextRange(UITextPosition, UITextPosition)

取得指定的文字範圍。

(繼承來源 IUITextInput)
InsertText(String)

在游標插入文字。

(繼承來源 IUIKeyInput)
ReplaceText(UITextRange, String)

取代指定範圍內的檔文字。

(繼承來源 IUITextInput)
SetBaseWritingDirectionforRange(UITextWritingDirection, UITextRange)

設定以指定文字範圍撰寫的基底 directon。

(繼承來源 IUITextInput)
SetMarkedText(String, NSRange)

設定標示的文字,並將它標示為目前的選取範圍。

(繼承來源 IUITextInput)
TextInRange(UITextRange)

取得特定範圍內指定的所有文字。

(繼承來源 IUITextInput)
UnmarkText()

取消標示檔內所有目前標示的文字

(繼承來源 IUITextInput)

擴充方法

CanPaste(IUIPasteConfigurationSupporting, NSItemProvider[])

true如果回應程式可以從指定的專案提供者貼上,則傳回 。

Paste(IUIPasteConfigurationSupporting, NSItemProvider[])

執行貼上。

BeginFloatingCursor(IUITextInput, CGPoint)

開始在指定的 point 上顯示浮動資料指標。

DictationRecognitionFailed(IUITextInput)

聽寫的辨識失敗。

DictationRecordingDidEnd(IUITextInput)

聽寫的錄製已結束。

EndFloatingCursor(IUITextInput)

結束浮動資料指標的顯示。

GetCharacterOffsetOfPosition(IUITextInput, UITextPosition, UITextRange)

計算並傳回檔中 range 字元 position 的位移。

GetFrameForDictationResultPlaceholder(IUITextInput, NSObject)

傳回要在其中顯示動畫聽寫結果預留位置的矩形。

GetPosition(IUITextInput, UITextRange, nint)

計算並傳回檔中 atCharacterOffset 字元為 withinRange 的絕對位置。

GetSelectionAffinity(IUITextInput)

停止顯示浮動資料指標。

GetTextInputView(IUITextInput)

傳回輸入檢視,提供文字輸入內幾何運算的座標系統。

GetTextStyling(IUITextInput, UITextPosition, UITextStorageDirection)

傳回位置文字 atPosition 的樣式屬性字典。

InsertDictationResult(IUITextInput, NSArray)

在目前的位置插入聽寫結果。

InsertDictationResultPlaceholder(IUITextInput)

傳回在聽寫結果完成產生之前要使用的預留位置物件。

RemoveDictationResultPlaceholder(IUITextInput, NSObject, Boolean)

placeholder不再需要 。

SetSelectionAffinity(IUITextInput, UITextStorageDirection)

設定值,控制資料指標是否顯示在多行選取範圍的最後一行或最後一行的結尾。

ShouldChangeTextInRange(IUITextInput, UITextRange, String)

詢問 中的 inRange 文字是否應該取代為 replacementText

UpdateFloatingCursor(IUITextInput, CGPoint)

將浮動 curor 移至指定的 point

GetPasswordRules(IUITextInputTraits)

傳回密碼輸入規則。

GetSmartDashesType(IUITextInputTraits)

取得智慧虛線樣式。

GetSmartInsertDeleteType(IUITextInputTraits)

取得智慧型插入樣式。

GetSmartQuotesType(IUITextInputTraits)

取得智慧引號樣式。

GetTextContentType(IUITextInputTraits)

取得預期輸入的語意,例如,允許系統提供自訂鍵盤。

SetPasswordRules(IUITextInputTraits, UITextInputPasswordRules)

設定密碼輸入規則。

SetSmartDashesType(IUITextInputTraits, UITextSmartDashesType)

設定智慧虛線的樣式。

SetSmartInsertDeleteType(IUITextInputTraits, UITextSmartInsertDeleteType)

設定智慧型插入的樣式。

SetSmartQuotesType(IUITextInputTraits, UITextSmartQuotesType)

設定智慧引號的樣式。

SetTextContentType(IUITextInputTraits, NSString)

設定預期的輸入語意,以允許系統提供自訂鍵盤。

適用於