InputMethod.GetPreferredImeState Method (DependencyObject)

 

Returns the value of the PreferredImeState  attached property for a specified dependency object.

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

[AttachedPropertyBrowsableForTypeAttribute(typeof(DependencyObject))]
public static InputMethodState GetPreferredImeState(
	DependencyObject target
)

Parameters

target
Type: System.Windows.DependencyObject

The dependency object for which to retrieve the value of PreferredImeState.

Return Value

Type: System.Windows.Input.InputMethodState

A member of the InputMethodState enumeration specifying the current PreferredImeState for the specified dependency object.

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: