[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Expand]Controls and Libraries
 [Collapse]Common Features
  [Expand]Data Binding Common Concepts
  [Expand]Data Source Wizard
  [Expand]Application Appearance and Skin Colors
  [Expand]Filtering UI Context
   Find Panel Syntax
  [Expand]Graphics Performance and High DPI
  [Expand]Scaffolding Wizard
  [Expand]Formatting Values
   HTML-inspired Text Formatting
  [Collapse]Tooltip Management
    How to: Customize Tooltips for XtraGrid and CheckBox Using the ToolTipController
    How to: Customize Tooltips Using the Default ToolTipController
    How to: Add Tooltips for the Row Indicator in XtraGrid
    How to: Create SuperToolTips In Code
    ToolTipController Component
    ToolTip Types
    Setting ToolTips for DevExpress Controls
    Setting ToolTips for Third-Party Controls
    Creating SuperToolTips
    Hyperlinks in Tooltips
  [Expand]Save and Restore Layouts
   Clipboard - Copy and Paste Operations. Data Formatting
   Version Compatibility: Default Property Values
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Setting ToolTips for Third-Party Controls

With the ToolTipController component you can set tooltips for any control. At design time, when a ToolTipController is added to a form, all third-party controls publish five new properties. For instance, when a DefaultToolTipController component is added to the form, the following properties appear in the Properties grid.

  • ToolTip on defaultToolTipController1 - Specifies the main text for the control's regular tooltip.
  • Title on defaultToolTipController1 - Specifies a title for the control's regular tooltip.
  • ToolTipIconType on defaultToolTipController1 - Allows you to display an icon in the control's regular tooltip.
  • AllowHtmlText on defaultToolTipController1 (if this option is set to True, HTML tags can be used to format text in regular tooltips).
  • SuperTip on defaultToolTipController1 - Specifies a SuperToolTip, which is an extended version of a tooltip, as it allows you to provide multiple text and image regions in the tooltip.

You can use the specified ToolTipController's properties and events to customize content, appearance and behavior settings of tooltips that are set via these properties.

To set tooltips for third-party controls in code, use the following methods.

If you are using a standalone ToolTipController component, use the following methods instead.

It is quite easy to set a regular tooltip for a control. You simply need to specify the text to be displayed within the title and content regions, and the required icon type. Unlike a regular tooltip, a SuperToolTip is represented by a SuperToolTip object. At design time, use the SuperToolTip Editor to create and initialize a SuperToolTip. In code, you need to create a SuperToolTip object manually. Refer to the Creating SuperToolTips topic for more details.

Is this topic helpful?​​​​​​​