Tooltips

Better ListView supports displaying multiple tooltips on any element and element part, even user-defined rectangular areas.

Instead of creating ToolTip component and attaching it to the Better ListView elements, every type of element has ToolTips property which holds a collection of tooltip data. Actual ToolTips are then shown using the internal mechanism of Better ListView.

ToolTip Options

Every tooltip in Better ListView is described with a structure BetterListViewToolTipInfo. This structure holds all the settings the original ToolTip has plus some additional. These include:

With such settings, one can generate a tooltip like this:

Display of tooltips can be handled in BetterListView.PopupToolTip.

Owner-Drawn Tooltips

Tooltips can be customized further more with owner drawing. For such case, tooltip has to be marked as owner-drawn in BetterListViewToolTipInfo and BetterListView.DrawToolTip event has to be handled. Here is an example of such tooltip:

Sample Application

The BetterListViewToolTipsSample application shows tooltips on all possible elements and element parts. There are is also one owner drawn and one baloon tooltip: