Export (0) Print
Expand All

InputMethod.SetIsInputMethodEnabled Method

Sets the value for the InputMethod.IsInputMethodEnabled attached property on the specified object.

Namespace:  System.Windows.Input
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.

ExceptionCondition
ArgumentException

target is not a TextBox.

ArgumentNullException

target is Nothing.

target should be a TextBox.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft