Share via


TextToolTipService.SetToolTipBounds(FrameworkElement, Rect) Method

Definition

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

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

Parameters

element
FrameworkElement

The element to set the ToolTipBounds attribute for.

value
Rect

The value to set the ToolTipBounds attribute to.

Applies to