Freigeben über


TextToolTipService.SetToolTipText(FrameworkElement, String) Method

Definition

Sets the ToolTipText attribute to the specified value for the given element.

public:
 static void SetToolTipText(System::Windows::FrameworkElement ^ element, System::String ^ value);
public static void SetToolTipText (System.Windows.FrameworkElement element, string value);
static member SetToolTipText : System.Windows.FrameworkElement * string -> unit
Public Shared Sub SetToolTipText (element As FrameworkElement, value As String)

Parameters

element
FrameworkElement

The element to set the ToolTipText attribute for.

value
String

The value to set the ToolTipText attribute to.

Applies to