IUIKeyInput 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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() | |
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) |
設定預期的輸入語意,以允許系統提供自訂鍵盤。 |