/syncfusion-winforms:syncfusion-winforms-tooltipfrom Syncfusion WinForms Controls
Guide for implementing Syncfusion Windows Forms Tooltip (SfToolTip) component for displaying contextual information and hover text in Windows Forms applications. Use this skill when implementing tooltips, popup information, balloon tips, or informational popups on controls. Covers SfToolTip setup, multi-item tooltips, custom tooltip content, appearance customization, and tooltip images.
Ships in Syncfusion WinForms Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion SfToolTip component provides rich tooltip functionality for Windows Forms applications, appearing automatically as a popup when the user hovers over a control. It supports multiple tooltip items, custom controls, images, and extensive appearance customization.
Use this skill when you need to:
The SfToolTip component offers:
Comparison: Choose SfToolTip over SuperToolTip when you need multi-item support, individual tooltip item customization, or custom control hosting. SfToolTip offers richer styling and flexibility.
📄 Read: references/getting-started.md
When implementing basic tooltips:
📄 Read: references/tooltip-items-and-content.md
When working with tooltip content structure:
📄 Read: references/balloon-style-and-beak.md
When implementing balloon-style tooltips:
📄 Read: references/appearance-customization.md
When customizing tooltip visual appearance:
📄 Read: references/advanced-usage.md
When implementing advanced tooltip features:
using Syncfusion.Windows.Forms;
// Add SfToolTip component to form
SfToolTip sfToolTip1 = new SfToolTip();
// Set simple text tooltip
sfToolTip1.SetToolTip(this.button1, "Click to submit the form");
using Syncfusion.Windows.Forms;
using Syncfusion.WinForms.Controls;
SfToolTip sfToolTip1 = new SfToolTip();
// Create ToolTipInfo with multiple items
ToolTipInfo toolTipInfo = new ToolTipInfo();
ToolTipItem item1 = new ToolTipItem();
item1.Text = "User Information";
item1.Style.Font = new Font("Arial", 10f, FontStyle.Bold);
ToolTipItem item2 = new ToolTipItem();
item2.Text = "Name: John Doe\nEmail: [email protected]";
toolTipInfo.Items.AddRange(new ToolTipItem[] { item1, item2 });
sfToolTip1.SetToolTipInfo(this.button1, toolTipInfo);
SfToolTip sfToolTip1 = new SfToolTip();
ToolTipInfo toolTipInfo = new ToolTipInfo();
toolTipInfo.ToolTipStyle = ToolTipStyle.Balloon;
toolTipInfo.BeakBackColor = Color.LightSkyBlue;
ToolTipItem toolTipItem = new ToolTipItem();
toolTipItem.Text = "David Carter\nPhone: +1 919.494.1974\nEmail: [email protected]";
toolTipItem.Image = Properties.Resources.UserImage;
toolTipItem.Style.ImageSize = new Size(80, 80);
toolTipItem.Style.ImageAlignment = ToolTipImageAlignment.Left;
toolTipInfo.Items.Add(toolTipItem);
sfToolTip1.SetToolTipInfo(this.button1, toolTipInfo);
ToolTipInfo toolTipInfo = new ToolTipInfo();
toolTipInfo.BorderColor = Color.DarkGray;
ToolTipItem toolTipItem = new ToolTipItem();
toolTipItem.Text = "Important Information";
toolTipItem.EnableGradientBackground = true;
toolTipItem.Style.GradientBrush = new BrushInfo(
GradientStyle.Horizontal,
new Color[] { Color.LightBlue, Color.LightGreen }
);
toolTipItem.Style.Font = new Font("Arial", 10f, FontStyle.Bold);
toolTipItem.Style.ForeColor = Color.DarkBlue;
toolTipInfo.Items.Add(toolTipItem);
sfToolTip1.SetToolTipInfo(this.control, toolTipInfo);
sfToolTip1.ToolTipShowing += (sender, e) =>
{
// Customize tooltip based on control state
if (e.Control is Button button && !button.Enabled)
{
e.Cancel = true; // Don't show tooltip for disabled controls
}
// Or modify appearance dynamically
if (e.Control.Tag?.ToString() == "Warning")
{
e.ToolTipInfo.Items[0].Style.BackColor = Color.LightCoral;
e.ToolTipInfo.BorderColor = Color.Red;
}
};
// Show tooltip at specific location
Point location = new Point(300, 200);
sfToolTip1.Show("Processing complete!", location);
// Show tooltip at cursor position with duration
ToolTipInfo info = new ToolTipInfo();
ToolTipItem item = new ToolTipItem { Text = "Operation successful!" };
info.Items.Add(item);
sfToolTip1.Show(info);
// Hide after delay
Thread.Sleep(3000);
sfToolTip1.Hide();
// Create custom control (e.g., PictureBox with animated GIF)
PictureBox pictureBox = new PictureBox();
pictureBox.Image = Image.FromFile("loading.gif");
pictureBox.SizeMode = PictureBoxSizeMode.CenterImage;
pictureBox.Size = new Size(200, 100);
ToolTipInfo toolTipInfo = new ToolTipInfo();
ToolTipItem toolTipItem = new ToolTipItem();
toolTipItem.Control = pictureBox;
toolTipInfo.Items.Add(toolTipItem);
sfToolTip1.SetToolTipInfo(this.button1, toolTipInfo);
| Property | Type | Description |
|---|---|---|
InitialDelay | int | Delay before tooltip appears (milliseconds, default: 0) |
AutoPopDelay | int | Duration tooltip remains visible (milliseconds, default: 5000) |
ShadowVisible | bool | Enable shadow effect on tooltip |
| Property | Type | Description |
|---|---|---|
Items | ToolTipItemCollection | Collection of tooltip items to display |
ToolTipStyle | ToolTipStyle | Rectangle (default) or Balloon style |
BeakBackColor | Color | Background color of balloon beak |
BorderColor | Color | Border color of tooltip |
MinWidth | int | Minimum tooltip width |
MaxWidth | int | Maximum tooltip width |
RightToLeft | RightToLeft | RTL layout support |
| Property | Type | Description |
|---|---|---|
Text | string | Tooltip item text content |
Image | Image | Image to display in item |
ImageList | ImageList | ImageList for multiple images |
ImageIndex | int | Index when using ImageList |
Control | Control | Custom control to host in item |
EnableSeparator | bool | Show separator line after item |
EnableGradientBackground | bool | Enable gradient background |
Padding | Padding | Spacing around item content |
Style | ToolTipStyleInfo | Comprehensive styling options |
| Property | Type | Description |
|---|---|---|
BackColor | Color | Background color |
ForeColor | Color | Text color |
Font | Font | Text font |
TextAlignment | ContentAlignment | Text alignment (MiddleLeft, etc.) |
ImageAlignment | ToolTipImageAlignment | Image position (Left, Top, Right) |
ImageSize | Size | Fixed image dimensions |
ImageToTextOffset | int | Spacing between image and text |
GradientBrush | BrushInfo | Gradient configuration |
SeparatorColor | Color | Separator line color |
SeparatorStyle | DashStyle | Separator line style |
| Event | Description | Use Case |
|---|---|---|
ToolTipShowing | Fires before tooltip displays | Customize appearance per control, cancel display conditionally, adjust location |
DrawToolTipItem | Fires during tooltip rendering | Implement custom drawing, override default appearance |
Required Assembly:
Syncfusion.Core.WinForms.dll and Syncfusion.Shared.BaseNuGet Package:
Syncfusion.Core.WinFormsInitialDelay and AutoPopDelay based on content complexityWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms113 skills in this plugin
/syncfusion-winforms-ai-assistviewGuide for implementing Syncfusion Windows Forms AI AssistView (SfAIAssistView) for building conversational AI interfaces in desktop applications. Use this when creating chat interfaces, AI assistants, or chatbots with Windows Forms. Supports OpenAI and Azure OpenAI integration, typing indicators, chat suggestions, message bubbles, custom views, input toolbar with attachments, response toolbar actions, and stop responding for interactive messaging experiences./syncfusion-winforms-autocompleteGuides implementation of the Syncfusion WinForms AutoComplete control for text input with auto-suggestion functionality. Use when users want to add autocomplete textboxes, implement auto-suggestion features, create search boxes with suggestions, enable URL/email autocomplete, or build type-ahead search functionality in Windows desktop applications. Covers data binding, customization, filtering, multi-column dropdowns, events, and all AutoComplete-specific features./syncfusion-winforms-autolabelGuides implementation of the Syncfusion WinForms AutoLabel control for automatic label positioning with form controls. Use when users want to add labels that automatically reposition when controls move, create form layouts with paired label-control units, implement complex form designs with FlowLayout, or ensure labels stay synchronized with their associated controls. Covers labeling controls, positioning, spacing, size settings, theming, and events.Other plugins' skills for the same job