TextToolTipService.SetToolTipText(FrameworkElement, String) Method

Definition

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

C++
public:
 static void SetToolTipText(System::Windows::FrameworkElement ^ element, System::String ^ value);

Parameters

element
FrameworkElement

The element to set the ToolTipText attribute for.

value
String

The value to set the ToolTipText attribute to.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022