UIElement.IsInputMethodEnabled 属性
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示是否启用输入法系统(如输入法编辑器 (IME) )来处理此元素的输入。
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 |