System.Windows.Forms.ToolTip Members

The members of System.Windows.Forms.ToolTip are listed below.

See Also: Inherited members from System.ComponentModel.Component

Public Constructors

Initializes a new instance of the System.Windows.Forms.ToolTip without a specified container.

Initializes a new instance of the System.Windows.Forms.ToolTip class with a specified container.

Public Properties

Activebool.

Gets or sets a value indicating whether the ToolTip is currently active.

AutomaticDelayint.

Gets or sets the automatic delay for the ToolTip.

AutoPopDelayint.

Gets or sets the period of time the ToolTip remains visible if the pointer is stationary on a control with specified ToolTip text.

BackColorSystem.Drawing.Color.

Gets or sets the background color for the ToolTip.

ForeColorSystem.Drawing.Color.

Gets or sets the foreground color for the ToolTip.

InitialDelayint.

Gets or sets the time that passes before the ToolTip appears.

IsBalloonbool.

Gets or sets a value indicating whether the ToolTip should use a balloon window.

OwnerDrawbool.

Gets or sets a value indicating whether the ToolTip is drawn by the operating system or by code that you provide.

ReshowDelayint.

Gets or sets the length of time that must transpire before subsequent ToolTip windows appear as the pointer moves from one control to another.

ShowAlwaysbool.

Gets or sets a value indicating whether a ToolTip window is displayed, even when its parent control is not active.

StripAmpersandsbool.

Gets or sets a value that determines how ampersand (&) characters are treated.

Tagobject.

Gets or sets the object that contains programmer-supplied data associated with the System.Windows.Forms.ToolTip.

ToolTipIconToolTipIcon.

Gets or sets a value that defines the type of icon to be displayed alongside the ToolTip text.

ToolTipTitlestring.

Gets or sets a title for the ToolTip window.

UseAnimationbool.

Gets or sets a value determining whether an animation effect should be used when displaying the ToolTip.

UseFadingbool.

Gets or sets a value determining whether a fade effect should be used when displaying the ToolTip.

Protected Properties

[read-only]
CreateParamsCreateParams.

Gets the creation parameters for the ToolTip window.

Public Methods

CanExtend(object) : bool

Returns true if the ToolTip can offer an extender property to the specified target component.

Finalize()

Releases the unmanaged resources and performs other cleanup operations before the System.Windows.Forms.Cursor is reclaimed by the garbage collector.

GetToolTip(Control) : string

Retrieves the ToolTip text associated with the specified control.

Hide(IWin32Window)

Hides the specified ToolTip window.

RemoveAll()

Removes all ToolTip text currently associated with the ToolTip component.

SetToolTip(Control, string)

Associates ToolTip text with the specified control.

Show(string, IWin32Window)

Sets the ToolTip text associated with the specified control, and displays the ToolTip modally.

Show(string, IWin32Window, System.Drawing.Point)

Sets the ToolTip text associated with the specified control, and then displays the ToolTip modally at the specified relative position.

Show(string, IWin32Window, int)

Sets the ToolTip text associated with the specified control, and then displays the ToolTip for the specified duration.

Show(string, IWin32Window, System.Drawing.Point, int)

Sets the ToolTip text associated with the specified control, and then displays the ToolTip for the specified duration at the specified relative position.

Show(string, IWin32Window, int, int)

Sets the ToolTip text associated with the specified control, and then displays the ToolTip modally at the specified relative position.

Show(string, IWin32Window, int, int, int)

Sets the ToolTip text associated with the specified control, and then displays the ToolTip for the specified duration at the specified relative position.

override
ToString() : string

Returns a string representation for this control.

Protected Methods

override
Dispose(bool)

Disposes of the System.Windows.Forms.ToolTip component.

StopTimer()

Stops the timer that hides displayed ToolTips.

Public Events

Draw

Occurs when the ToolTip is drawn and the ToolTip.OwnerDraw property is set to true and the ToolTip.IsBalloon property is false.

Popup

Occurs before a ToolTip is initially displayed. This is the default event for the System.Windows.Forms.ToolTip class.