Edytuj

Udostępnij za pośrednictwem


FrameworkElement.InputScope Property

Definition

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

public:
 property System::Windows::Input::InputScope ^ InputScope { System::Windows::Input::InputScope ^ get(); void set(System::Windows::Input::InputScope ^ value); };
public System.Windows.Input.InputScope InputScope { get; set; }
member this.InputScope : System.Windows.Input.InputScope with get, set
Public Property InputScope As InputScope

Property Value

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).

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.

Dependency Property Information

Identifier field InputScopeProperty
Metadata properties set to true Inherits

Applies to

See also