UIElement.IsInputMethodEnabled 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,指出是否啟用輸入法編輯器 (輸入法) 等輸入法系統來處理這個專案的輸入。
public:
property bool IsInputMethodEnabled { bool get(); };
C#
public bool IsInputMethodEnabled { get; }
member this.IsInputMethodEnabled : bool
Public ReadOnly Property IsInputMethodEnabled As Boolean
如果輸入法為使用中,則為 true
;否則為 false
。 基礎附加屬性的預設值為 true;
,不過這會受到輸入法在執行階段的實際狀態所影響。
這個屬性會傳回目前啟用之輸入方法的附加屬性 InputMethod.IsInputMethodEnabled 所傳回的值, (鍵盤、語音和其他輸入裝置) 。
產品 | 版本 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
Windows Desktop | 3.0, 3.1, 5, 6, 7 |