InputMethod.GetInputScope Method (DependencyObject)

 

Returns the value of the InputScope  attached property for a specified dependency object.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

[AttachedPropertyBrowsableForTypeAttribute(typeof(DependencyObject))]
public static InputScope GetInputScope(
	DependencyObject target
)

Parameters

target
Type: System.Windows.DependencyObject

The dependency object for which to retrieve the input scope.

Return Value

Type: System.Windows.Input.InputScope

An InputScope object representing the current input scope for the specified dependency object.

Exception Condition
ArgumentNullException

Raised when target is null.

.NET Framework
Available since 3.0
Return to top
Show: