Compartilhar via


InputMethod.PreferredImeConversionMode Attached Property

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

Gets or sets a preferred ImeConversionModeValues value for a specified dependency object.

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

Syntax

'Declaration
See GetPreferredImeConversionMode, SetPreferredImeConversionMode
See GetPreferredImeConversionMode, SetPreferredImeConversionMode
<object InputMethod.PreferredImeConversionMode="imeConversionModeValuesMemberName"/>

Property Value

Type: System.Windows.Input.ImeConversionModeValues
A preferred ImeConversionModeValues value for a specified dependency object.

Remarks

This setting is relevant when the target object has focus.

NoteNote:

You cannot establish multiple values for PreferredImeConversionMode if you set this property in Silverlight XAML. To set multiple values (more than one named value from the flagwise ImeConversionModeValues enumeration), use SetPreferredImeConversionMode(DependencyObject, ImeConversionModeValues), passing a combined set of enumeration values as the second parameter.

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.