TextBox.InputScope Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the context for input used by this TextBox.

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


Public Property InputScope As InputScope
public InputScope InputScope { get; set; }

Property Value

Type: System.Windows.Input.InputScope
The input scope, which modifies how input from alternative input methods is interpreted. The default value is a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic).


Exception Condition

API is not supported by the current platform variation.


Dependency property identifier field: InputScopeProperty.

Version Notes

Silverlight for the desktop

Do not use for a Silverlight for the desktop application.

Silverlight for Windows Phone Silverlight for Windows Phone

InputScopeNameValue lists the enumeration values supported on Silverlight for Windows Phone. For additional information, see How to: Specify On-Screen Keyboard Layout for a TextBox.

Version Information

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.