共用方式為


TextToolTipService.SetAutoShowToolTipWhenObscured Method

Definition

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

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

Parameters

element
FrameworkElement

The element to set the AutoShowToolTipWhenObscured attribute for.

value
Boolean

The value to set the AutoShowToolTipWhenObscured attribute to.

Applies to