AutomationProperties.HelpTextProperty 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
标识 AutomationProperties.HelpText 附加属性,该属性是与自动化元素关联的帮助文本字符串。
public:
static property DependencyProperty ^ HelpTextProperty { DependencyProperty ^ get(); };
static DependencyProperty HelpTextProperty();
public static DependencyProperty HelpTextProperty { get; }
var dependencyProperty = AutomationProperties.helpTextProperty;
Public Shared ReadOnly Property HelpTextProperty As DependencyProperty
属性值
AutomationProperties.HelpText 附加属性的标识符。
注解
HelpText 属性通常是从与 元素关联的工具提示文本中获取的。 在编辑控件或列表控件中显示占位符文本时,还可以支持 属性。 例如,“在此处键入用于搜索的文本”是编辑控件的 HelpText 属性的候选项,该控件将文本置于用户的实际输入之前。 但是,对于编辑控件的名称属性来说,这还不够。
如果 支持 HelpText ,则字符串必须与应用程序 UI 语言或操作系统默认 UI 语言匹配。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈