InputMethod.SetIsInputMethodEnabled Method (DependencyObject, Boolean)

 

Sets the value of the IsInputMethodEnabled attached property on the specified dependency object.

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

public static void SetIsInputMethodEnabled(
	DependencyObject target,
	bool value
)

Parameters

target
Type: System.Windows.DependencyObject

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

value
Type: System.Boolean

The new value for the IsInputMethodEnabled attached property.

Exception Condition
ArgumentNullException

Raised when target is null.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: