InputScopePhrase 类

定义

表示建议的输入文本模式。Represents a suggested input text pattern.

public ref class InputScopePhrase : System::Windows::Markup::IAddChild
[System.Windows.Markup.ContentProperty("Name")]
public class InputScopePhrase : System.Windows.Markup.IAddChild
[<System.Windows.Markup.ContentProperty("Name")>]
type InputScopePhrase = class
    interface IAddChild
Public Class InputScopePhrase
Implements IAddChild
继承
InputScopePhrase
属性
实现

注解

InputScopeName 提供一组预定义 Name 值。InputScopeName provides a set of pre-defined Name values.

构造函数

InputScopePhrase()

此类型或成员支持 Windows Presentation Foundation (WPF) 基础结构,并且不应在代码中直接使用。This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

InputScopePhrase(String)

使用指定输入范围词组的 InputScopePhrase 的字符串,初始化 Name 类的新实例。Initializes a new instance of the InputScopePhrase class, taking a string specifying the Name of the input scope phrase.

属性

Name

获取或设置与此 InputScopePhrase 的文本输入模式关联的描述性名称。Gets or sets a descriptive name associated with the text input pattern for this InputScopePhrase.

方法

AddChild(Object)

此类型或成员支持 Windows Presentation Foundation (WPF) 基础结构,并且不应在代码中直接使用。This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

AddText(String)

此类型或成员支持 Windows Presentation Foundation (WPF) 基础结构,并且不应在代码中直接使用。This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅