編輯

共用方式為


AutomationProperties.GetHelpText(DependencyObject) Method

Definition

Gets the HelpText attached property for the specified DependencyObject.

public:
 static System::String ^ GetHelpText(System::Windows::DependencyObject ^ element);
public static string GetHelpText (System.Windows.DependencyObject element);
static member GetHelpText : System.Windows.DependencyObject -> string
Public Shared Function GetHelpText (element As DependencyObject) As String

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

A string containing the help text for the specified element. The string that is returned generally is the same text that is provided in the tooltip for the control.

Applies to

See also