HypernovaDesktop Components · docs
Binarymission
WinForms › Power Tab Strip › ToolTipConfiguration

ToolTipConfiguration

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.TabControls

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
AutoPopDelayGets or sets how long a tooltip stays up while the pointer rests on the header.
AutomaticDelayGets or sets a single delay from which a ToolTip derives its other delays.
BackColorGets or sets the tooltip's background colour.
ForeColorGets or sets the colour of the tooltip's text.
InitialDelayGets or sets how long the pointer must rest on a header before its tooltip appears.
IsBalloonGets or sets whether the tooltip is drawn as a speech balloon rather than a plain rectangle.
ReshowDelayGets or sets how long the next tooltip waits to appear when the pointer moves to another header while one is showing.
StripAmpersandsGets or sets whether an ampersand in the tooltip text is removed rather than drawn as an underline under the character after it.
ToolTipIconGets or sets the standard icon shown beside the tooltip's title.
ToolTipTitleGets or sets a title shown in bold above the tooltip's text.
UseAnimationGets or sets whether the tooltip appears and disappears with the system's animation effect.
UseFadingGets or sets whether the tooltip fades in and out.

Properties

AutoPopDelay

public int 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

public int 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

public Color BackColor

Gets or sets the tooltip's background colour.

Value
The default is SystemColors.Info.

ForeColor

public Color ForeColor

Gets or sets the colour of the tooltip's text.

Value
The default is SystemColors.WindowText.

InitialDelay

public int 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

public bool 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

public int 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

public bool 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

public ToolTipIcon 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

public string ToolTipTitle

Gets or sets a title shown in bold above the tooltip's text.

Value
The default is an empty string: no title.

UseAnimation

public bool UseAnimation

Gets or sets whether the tooltip appears and disappears with the system's animation effect.

Value
The default is false.

UseFading

public bool UseFading

Gets or sets whether the tooltip fades in and out.

Value
The default is false.