InputMethod.SetIsInputMethodEnabled Method

July 28, 2014

Sets the value for the InputMethod.IsInputMethodEnabled attached property on the specified object.

Namespace:  System.Windows.Input
Assembly:  System.Windows (in System.Windows.dll)

public static void SetIsInputMethodEnabled(
	DependencyObject target,
	bool value
)

Parameters

target
Type: System.Windows.DependencyObject
The object on which to set the InputMethod.IsInputMethodEnabled attached property value.
value
Type: System.Boolean
The value to set.

ExceptionCondition
ArgumentException

target is not a TextBox.

ArgumentNullException

target is null.

target should be a TextBox.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft