Share via


ToolTipService.GetToolTip(DependencyObject) Method

Definition

Gets the value of the ToolTipService.ToolTip XAML attached property for an object.

public:
 static Platform::Object ^ GetToolTip(DependencyObject ^ element);
 static IInspectable GetToolTip(DependencyObject const& element);
public static object GetToolTip(DependencyObject element);
function getToolTip(element)
Public Shared Function GetToolTip (element As DependencyObject) As Object

Parameters

element
DependencyObject

The object from which the property value is read.

Returns

Object

Platform::Object

IInspectable

The object's tooltip content.

Applies to

See also