Windows Forms Tooltip (SfToolTip) Overview
24 May 20231 minute to read
The SfToolTip
appears automatically as a pop-up and shows the information of purpose of the control when resetting the pointer on the control. The control includes the control adding feature that allows an end user to add the user control to the SfToolTip so, end user can customize any ToolTip item in the SfToolTip
.
Key Features
Following are the key features of the SfToolTip
:
-
Multiple items
: Supports adding more tooltip items. -
Adding controls
: Supports loading a control in the tooltip item. -
ToolTip content customization
: Supports customizing the appearance of the tooltip item.
Choose between different tooltip controls
Syncfusion WinForms suite comes up with following different tooltips namely :
SfToolTip
SfToolTip is a component that provides options to display multiple lines, multiple items, and balloon styles. This also provides support to load images and host any custom UI control.
SuperToolTip
SuperToolTip component is used to display text and image with various customization options. This 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. But, the SfToolTip control offers rich set of features over SuperToolTip. When multi items support and specific tooltip customization are needed, use SfToolTip. Comparatively, the style customization of the SfToolTip control is better than SuperToolTip.
You can see some of the specific API differences between SfToolTip and SuperToolTip as follows.
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 tooltip. To learn more about adding control as a pop-up information, refer to . |
custom user control | Adds control as pop-up information. To learn more about custom user control, refer to . |
Custom drawing | Draws the custom tooltip item appearance. To learn more about drawing custom tooltip, refer to . |
Appearance customization | Individually customizes the appearance of tooltip item shown using SfToolTip, whereas all tooltip items shown using SuperToolTip can have the same appearance. To learn more about appearance customization, refer to . |