Skip to main content
.NET Framework Class Library
FrameworkElementInputScope Property

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

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
Syntax
Public Property InputScope As [%$TOPIC/ms600883_en-us_VS_110_2_0_0_0_0%]
public [%$TOPIC/ms600883_en-us_VS_110_2_0_1_0_0%] InputScope { get; set; }
public:
property [%$TOPIC/ms600883_en-us_VS_110_2_0_2_0_0%]^ InputScope {
	[%$TOPIC/ms600883_en-us_VS_110_2_0_2_0_1%]^ get ();
	void set ([%$TOPIC/ms600883_en-us_VS_110_2_0_2_0_2%]^ value);
}
member InputScope : [%$TOPIC/ms600883_en-us_VS_110_2_0_3_0_0%] with get, set
<object>
  <object.InputScope>
    <[%$TOPIC/ms600883_en-us_VS_110_2_0_4_0_0%] .../>
  </object.InputScope>
</object>
<object InputScope="[%$TOPIC/ms600883_en-us_VS_110_2_0_5_0_0%]" .../>

Property Value

Type: System.Windows.InputInputScope
The input scope, which modifies how input from alternative input methods is interpreted. The default value is (which results in a default handling of commands).
Dependency Property Information

Identifier field

InputScopeProperty

Metadata properties set to true

Inherits

Remarks

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.

Version Information

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Platforms

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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