Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [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]Expressions
  [Expand]Behaviors
  [Expand]Application Appearance
  [Expand]Filtering UI Context
  [Expand]High DPI Support
  [Expand]Scaffolding Wizard
  [Expand]Formatting Values
   HTML Text Formatting
  [Expand]Menus
  [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]Saving and Restoring Layouts
   Clipboard - Copy Data and 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]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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.

How would you rate this topic?​​​​​​​