AutomationProperties.HelpText attached property

Applies to Windows and Windows Phone

Gets or sets the help text for the element.


<object AutomationProperties.HelpText="helptextString" />

XAML Values

helptextString

The help text for the specified element.

Remarks

AutomationProperties.HelpText is an attached property, which supports a XAML usage. When getting this property in code, use GetHelpText. When setting this property in code, use SetHelpText instead. In code usages, the target parameter is the object where the attached property value is set. Another way to get or set the value in code is to use the dependency property system, calling either GetValue or SetValue and passing HelpTextProperty as the dependency property identifier.

The purpose of AutomationProperties.HelpText and the AutomationProperties attached properties is to provide instance values for behavior that are not already present or defined in the control definition or a control's applied generic template.

The help text generally is the same text that is provided in the tooltip for the control.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation

Metadata

Windows.winmd

See also

AutomationProperties

 

 

Show:
© 2014 Microsoft