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.
Assembly: System.Windows (in System.Windows.dll)
public static void SetPreferredImeConversionMode( DependencyObject target, ImeConversionModeValues value )
Parameters
- target
- Type: System.Windows.DependencyObject
The object on which to set the SetPreferredImeConversionMode attached property value.
- value
- Type: System.Windows.Input.ImeConversionModeValues
The value to set.
| Exception | Condition |
|---|---|
| ArgumentException | target is not a TextBox. |
| ArgumentNullException | target is null. |
Show: