About Syncfusion® Windows Forms SfToolTip Control

18 Nov 20181 minute to read

The SfToolTip appears automatically as a pop-up and shows information about the purpose of the control when the pointer rests on the control. The control also includes a feature that allows an end user to add a custom user control to a ToolTipItem, so the end user can fully customize any item in the SfToolTip.

Key Features

The key features of the SfToolTip are:

  • Multiple items — Supports adding more than one tooltip item.
  • Adding controls — Supports loading a control inside a tooltip item.
  • ToolTip content customization — Supports customizing the appearance of a tooltip item.

Choose between different tooltip controls

Syncfusion® WinForms suite comes up with the following different tooltips:

SfToolTip

SfToolTip is a component that provides options to display multiple lines, multiple items, and balloon styles. It also provides support to load images and host any custom UI control.

SuperToolTip

SuperToolTip is a component used to display text and images with various customization options. It also allows you to customize the back color, fore color, separator, and HTML text.

SfToolTip vs SuperToolTip

Both SfToolTip and SuperToolTip controls are used for the same purposes. However, the SfToolTip control offers a richer set of features than the SuperToolTip. When multi-item support and tooltip customization are needed, use SfToolTip. The style customization of the SfToolTip control is also more flexible than that of the SuperToolTip.

The following table lists some of the specific property differences between SfToolTip and SuperToolTip.

SfToolTip

SuperToolTip

Description

Text Text Sets the text to be displayed in the tooltip item.
Image Image Sets the image to be shown on the tooltip.
AutoPopDelay ToolTipDuration Specifies the duration of the tooltip to be visible.
ToolTipInfo.ToolTipStyle Style Specifies the style of the tooltip: Regular rectangle or balloon style.
ToolTipInfo.MaxWidth MaxWidth Specifies the maximum width of the tooltip.

The following list of features are in SfToolTip over SuperToolTip.

Feature

Description

Multiple items Adds multiple items as a tooltip. To learn more about adding multiple items, refer to

here

.
Custom user control Adds a custom user control as pop-up information. To learn more about adding a custom user control, refer to

here

.
Custom drawing Draws a custom tooltip item appearance. To learn more about drawing a custom tooltip, refer to

here

.
Appearance customization Individually customizes the appearance of each tooltip item shown using SfToolTip, whereas all tooltip items shown using SuperToolTip share the same appearance. To learn more about appearance customization, refer to

here

.