FrameworkElement.InputScope FrameworkElement.InputScope FrameworkElement.InputScope FrameworkElement.InputScope Property


取得或設定此 FrameworkElement 使用的輸入內容。Gets or sets the context for input used by this FrameworkElement.

 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


輸入範圍,可修改替代輸入法之輸入的解譯方式。The input scope, which modifies how input from alternative input methods is interpreted. 預設值為 null (採用預設的命令處理方式)。The default value is null (which results in a default handling of commands).


這個相依性屬性繼承的屬性值。This dependency property inherits property values. 如果有子項目,而不需要的其他值InputScope透過本機值或樣式,來建立,則屬性系統會設定這個值為InputScope指派此值最接近的祖系項目的值。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.

雖然XAMLXAML語法用法列為和語法上允許,設定這個屬性XAMLXAML不常見。Although a XAMLXAML syntax usage is listed and is syntactically allowed, setting this property in XAMLXAML is not common.

相依性屬性資訊Dependency Property Information

識別項欄位Identifier field InputScopeProperty
若要設定的中繼資料屬性 trueMetadata properties set to true Inherits