Edit

Share via


InputMethod.GetInputScope(DependencyObject) Method

Definition

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

public:
 static System::Windows::Input::InputScope ^ GetInputScope(System::Windows::DependencyObject ^ target);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Input.InputScope GetInputScope (System.Windows.DependencyObject target);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetInputScope : System.Windows.DependencyObject -> System.Windows.Input.InputScope
Public Shared Function GetInputScope (target As DependencyObject) As InputScope

Parameters

target
DependencyObject

The dependency object for which to retrieve the input scope.

Returns

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

Attributes

Exceptions

Raised when target is null.

Applies to

See also