InputMethod.SetIsInputMethodEnabled 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 InputMethod.IsInputMethodEnabled attached property on the specified object.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Shared Sub SetIsInputMethodEnabled ( _ target As DependencyObject, _ value As Boolean _ )
Parameters
- target
- Type: System.Windows.DependencyObject
The object on which to set the InputMethod.IsInputMethodEnabled attached property value.
- value
- Type: System.Boolean
The value to set.
| Exception | Condition |
|---|---|
| ArgumentException | target is not a TextBox. |
| ArgumentNullException | target is Nothing. |
Show: