Partager via


InputMethod.PreferredImeState Attached Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a preferred input method state for a specified dependency object.

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

Syntax

'Declaration
See GetPreferredImeState, SetPreferredImeState
See GetPreferredImeState, SetPreferredImeState
<object InputMethod.PreferredImeState="inputMethodStateMemberName"/>

Property Value

Type: System.Windows.Input.InputMethodState
A preferred input method state for a specified dependency object.

Remarks

This setting is relevant when the target object has focus.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.