InputMethod.SetPreferredImeState Method (DependencyObject, InputMethodState)

 

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

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

public static void SetPreferredImeState(
	DependencyObject target,
	InputMethodState value
)

Parameters

target
Type: System.Windows.DependencyObject

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

value
Type: System.Windows.Input.InputMethodState

A member of the ImeConversionModeValues enumeration representing the new value for the PreferredImeState attached property.

Exception Condition
ArgumentNullException

Raised when target is null.

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: