InputMethod.SetPreferredImeConversionMode Method

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

Sets the value for the SetPreferredImeConversionMode attached property on the specified object.

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

Syntax

Public Shared Sub SetPreferredImeConversionMode ( _
    target As DependencyObject, _
    value As ImeConversionModeValues _
)
public static void SetPreferredImeConversionMode(
    DependencyObject target,
    ImeConversionModeValues value
)

Parameters

Exceptions

Exception Condition
ArgumentException

target is not a TextBox.

ArgumentNullException

target is nullNothingnullptra null reference (Nothing in Visual Basic).

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

InputMethod Class

System.Windows.Input Namespace