編輯

共用方式為


FrameworkContentElement.InputScope Property

Definition

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

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 with no other value for InputScope established through local values or styles, the property system will set the value to be the InputScope value of the nearest parent 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

Item Value
Identifier field InputScopeProperty
Metadata properties set to true Inherits

Applies to