InputMethod.SetIsInputMethodEnabled(DependencyObject, Boolean) InputMethod.SetIsInputMethodEnabled(DependencyObject, Boolean) InputMethod.SetIsInputMethodEnabled(DependencyObject, Boolean) InputMethod.SetIsInputMethodEnabled(DependencyObject, Boolean) Method

定義

指定した依存関係オブジェクトの IsInputMethodEnabled 添付プロパティの値を設定します。Sets the value of the IsInputMethodEnabled attached property on the specified dependency object.

public:
 static void SetIsInputMethodEnabled(System::Windows::DependencyObject ^ target, bool value);
public static void SetIsInputMethodEnabled (System.Windows.DependencyObject target, bool value);
static member SetIsInputMethodEnabled : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsInputMethodEnabled (target As DependencyObject, value As Boolean)

パラメーター

target
DependencyObject DependencyObject DependencyObject DependencyObject

IsInputMethodEnabled 添付プロパティを設定する依存関係オブジェクト。The dependency object on which to set the IsInputMethodEnabled attached property.

value
Boolean Boolean Boolean Boolean

IsInputMethodEnabled 添付プロパティの新しい値。The new value for the IsInputMethodEnabled attached property.

例外

targetnull の場合に発生します。Raised when target is null.

適用対象

こちらもご覧ください