This documentation is archived and is not being maintained.

FrameworkElement.InputScope Property

Gets or sets the context for input used by this FrameworkElement. This is a dependency property.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public InputScope InputScope { get; set; }
<object>
  <object.InputScope>
    <InputScope .../>
  </object.InputScope>
</object>
<object InputScope="InputScope" .../>

Property Value

Type: System.Windows.Input.InputScope
The input scope, which modifies how input from alternative input methods is interpreted. The default value is null (which results in a default handling of commands).

Identifier field

InputScopeProperty

Metadata properties set to true

Inherits

This dependency property inherits property values. If there are child elements without other values for InputScope established through local values or styles, then the property system will set the value to be the InputScope value of the nearest ancestor element with this value assigned.

Although a XAML syntax usage is listed and is syntactically allowed, setting this property in XAML is not common.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: