InputMethod::SetPreferredImeConversionMode Method (DependencyObject^, ImeConversionModeValues)
.NET Framework (current version)
Sets the value of the PreferredImeConversionMode attached property on the specified dependency object.
Assembly: PresentationCore (in PresentationCore.dll)
public: static void SetPreferredImeConversionMode( DependencyObject^ target, ImeConversionModeValues value )
Parameters
- target
-
Type:
System.Windows::DependencyObject^
The dependency object on which to set the PreferredImeConversionMode attached property.
- value
-
Type:
System.Windows.Input::ImeConversionModeValues
A member of the ImeConversionModeValues enumeration representing the new value for the PreferredImeConversionMode attached property.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when target is null. |
.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Show: