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

属性值

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
元数据属性设置为 trueMetadata properties set to true Inherits

适用于