共用方式為


IUIKeyInput 介面

定義

類別一起構成 UIKeyInput 通訊協定的介面。

[Foundation.Protocol(Name="UIKeyInput", WrapperType=typeof(UIKit.UIKeyInputWrapper))]
public interface IUIKeyInput : IDisposable, UIKit.IUITextInputTraits
type IUIKeyInput = interface
    interface INativeObject
    interface IDisposable
    interface IUITextInputTraits
衍生
屬性
實作

屬性

AutocapitalizationType

UITextAutocapitalizationType 所使用的 IUITextInput

(繼承來源 IUITextInputTraits)
AutocorrectionType

UITextAutocorrectionType 所使用的 IUITextInput

(繼承來源 IUITextInputTraits)
EnablesReturnKeyAutomatically

是否自動啟用傳回金鑰。

(繼承來源 IUITextInputTraits)
Handle

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

(繼承來源 INativeObject)
HasText

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

KeyboardAppearance

UIKeyboardAppearance所使用的IUITextInput

(繼承來源 IUITextInputTraits)
KeyboardType

UIKeyboardType 所使用的 IUITextInput

(繼承來源 IUITextInputTraits)
ReturnKeyType

的傳回索引鍵 IUITextInput 形式。

(繼承來源 IUITextInputTraits)
SecureTextEntry

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

(繼承來源 IUITextInputTraits)
SpellCheckingType

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

(繼承來源 IUITextInputTraits)

方法

DeleteBackward()

類別一起構成 UIKeyInput 通訊協定的介面。

InsertText(String)

在游標插入文字。

擴充方法

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)

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

適用於