GetPreferredImeState Method

InputMethod.GetPreferredImeState Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the value for the GetPreferredImeState attached property on the specified object.

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

public static InputMethodState GetPreferredImeState(
	DependencyObject target
)

Parameters

target
Type: System.Windows.DependencyObject
The object to get the GetPreferredImeState attached property value from.

Return Value

Type: System.Windows.Input.InputMethodState
The GetPreferredImeState attached property value.

ExceptionCondition
ArgumentException

target is not a TextBox.

ArgumentNullException

target is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft