ToolTipConfiguration
The look and timing of the tooltips a BinaryPowerTabStrip shows over its headers – the
settings of a ToolTip, held where the designer can edit them.
public class ToolTipConfiguration
Remarks
Use the strip's BinaryPowerTabStrip.ToolTipConfiguration. The settings are
copied onto the strip's tooltip each time it is shown, so a change takes effect at the next tooltip.
The text comes from each page's BinaryPowerTabPage.ToolTipText.
Examples
tabs.ToolTipConfiguration = new ToolTipConfiguration
{
IsBalloon = true,
ToolTipIcon = ToolTipIcon.Info,
ToolTipTitle = "Customer account",
InitialDelay = 250,
AutoPopDelay = 8000
};Members at a glance
| Properties | |
|---|---|
AutoPopDelay | Gets or sets how long a tooltip stays up while the pointer rests on the header. |
AutomaticDelay | Gets or sets a single delay from which a ToolTip derives its other delays. |
BackColor | Gets or sets the tooltip's background colour. |
ForeColor | Gets or sets the colour of the tooltip's text. |
InitialDelay | Gets or sets how long the pointer must rest on a header before its tooltip appears. |
IsBalloon | Gets or sets whether the tooltip is drawn as a speech balloon rather than a plain rectangle. |
ReshowDelay | Gets or sets how long the next tooltip waits to appear when the pointer moves to another header while one is showing. |
StripAmpersands | Gets or sets whether an ampersand in the tooltip text is removed rather than drawn as an underline under the character after it. |
ToolTipIcon | Gets or sets the standard icon shown beside the tooltip's title. |
ToolTipTitle | Gets or sets a title shown in bold above the tooltip's text. |
UseAnimation | Gets or sets whether the tooltip appears and disappears with the system's animation effect. |
UseFading | Gets or sets whether the tooltip fades in and out. |
Properties
AutoPopDelay
Gets or sets how long a tooltip stays up while the pointer rests on the header.
- Value
- The time in milliseconds. The default is 5000.
AutomaticDelay
Gets or sets a single delay from which a ToolTip derives its other delays.
- Value
- The delay in milliseconds. The default is 500.
Remarks
It is applied first, and AutoPopDelay, InitialDelay and
ReshowDelay are then applied over the values it derives, so in practice those three
decide the timing.
BackColor
Gets or sets the tooltip's background colour.
- Value
- The default is
SystemColors.Info.
ForeColor
Gets or sets the colour of the tooltip's text.
- Value
- The default is
SystemColors.WindowText.
InitialDelay
Gets or sets how long the pointer must rest on a header before its tooltip appears.
- Value
- The time in milliseconds. The default is 500.
IsBalloon
Gets or sets whether the tooltip is drawn as a speech balloon rather than a plain rectangle.
- Value
- The default is
false.
Remarks
A plain tooltip is shown 20 logical pixels below the pointer; a balloon points at it.
ReshowDelay
Gets or sets how long the next tooltip waits to appear when the pointer moves to another header while one is showing.
- Value
- The time in milliseconds. The default is 100.
StripAmpersands
Gets or sets whether an ampersand in the tooltip text is removed rather than drawn as an underline under the character after it.
- Value
- The default is
false.
ToolTipIcon
Gets or sets the standard icon shown beside the tooltip's title.
- Value
- The default is
None.
Remarks
Shown only when ToolTipTitle is set.
ToolTipTitle
Gets or sets a title shown in bold above the tooltip's text.
- Value
- The default is an empty string: no title.
UseAnimation
Gets or sets whether the tooltip appears and disappears with the system's animation effect.
- Value
- The default is
false.
UseFading
Gets or sets whether the tooltip fades in and out.
- Value
- The default is
false.