System.Windows.Forms.ToolTip.Hide Method

Hides the specified ToolTip window.

Syntax

public void Hide (IWin32Window win)

Parameters

win
The System.Windows.Forms.IWin32Window of the associated window or control that the ToolTip is associated with.

Remarks

The ToolTip.Hide(IWin32Window) method hides the ToolTip for the specified System.Windows.Forms.Control if it is currently being displayed. It does not disable or otherwise prevent the same ToolTip from being displayed in the future. To instead disable all ToolTip windows associated with the current ToolTip.ToolTipTitle component, set the ToolTip.Active property to false.

Applications running in partial trust must assert the System.Security.Permissions.UIPermissionWindow.AllWindows permission to use this method, as ToolTip.Hide(IWin32Window) can hide the tip independent of user action.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0