FrameworkContentElement.InputScope 屬性

定義

取得或設定此 FrameworkContentElement 使用的輸入內容。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

屬性值

輸入範圍,可修改替代輸入法之輸入的解譯方式。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 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.

雖然會列出 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
設定為 true 的中繼資料屬性Metadata properties set to true Inherits

適用於