Share via


AutomationProperties.GetHelpText(DependencyObject) Method

Definition

Gets the value of the AutomationProperties.HelpText attached property for the specified DependencyObject.

public:
 static Platform::String ^ GetHelpText(DependencyObject ^ element);
 static winrt::hstring GetHelpText(DependencyObject const& element);
public static string GetHelpText(DependencyObject element);
function getHelpText(element)
Public Shared Function GetHelpText (element As DependencyObject) As String

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

String

Platform::String

winrt::hstring

The help text for the specified element.

Applies to