UIElement.IsInputMethodEnabled UIElement.IsInputMethodEnabled UIElement.IsInputMethodEnabled UIElement.IsInputMethodEnabled Property

定义

获取一个值,该值指示是否启用输入法系统(如 输入法编辑器 (IME)Input Method Editor (IME))来处理此元素的输入。Gets a value indicating whether an input method system, such as an 输入法编辑器 (IME)Input Method Editor (IME), is enabled for processing the input to this element.

public:
 property bool IsInputMethodEnabled { bool get(); };
public bool IsInputMethodEnabled { get; }
member this.IsInputMethodEnabled : bool
Public ReadOnly Property IsInputMethodEnabled As Boolean

属性值

如果输入法处于活动状态,则为true ;否则为 falsetrue if an input method is active; otherwise, false. 基础附加属性的默认值为 true;;但在运行时该值会受到输入法实际状态的影响。The default value of the underlying attached property is true; however, this will be influenced by the actual state of input methods at runtime.

注解

此属性返回当前启用的输入方法 (键盘、语音InputMethod.IsInputMethodEnabled和其他输入设备) 的附加属性返回的值。This property returns the value that is returned by the attached property InputMethod.IsInputMethodEnabled for the currently enabled input methods (keyboard, speech, and other input devices).

适用于