Edit

Share via


InputMethod.SetIsInputMethodEnabled(DependencyObject, Boolean) Method

Definition

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)

Parameters

target
DependencyObject

The dependency object on which to set the IsInputMethodEnabled attached property.

value
Boolean

The new value for the IsInputMethodEnabled attached property.

Exceptions

Raised when target is null.

Applies to

See also