Udostępnij za pośrednictwem


AutomationProperties.SetHelpText(DependencyObject, String) Method

Definition

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

public:
 static void SetHelpText(DependencyObject ^ element, Platform::String ^ value);
 static void SetHelpText(DependencyObject const& element, winrt::hstring const& value);
public static void SetHelpText(DependencyObject element, string value);
function setHelpText(element, value)
Public Shared Sub SetHelpText (element As DependencyObject, value As String)

Parameters

element
DependencyObject

The DependencyObject for which to set the property.

value
String

Platform::String

winrt::hstring

The help text.

Applies to

See also