HypernovaDesktop Components · docs
Binarymission
WinForms › Date Picker › DateToolTipInfo

DateToolTipInfo

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

The tooltip to show for a day in the calendar, filled in by a BinaryDatePicker.MouseIsOverADate handler.

public sealed class DateToolTipInfo

Remarks

The handler receives a new instance for each move of the pointer, with the defaults below. A tooltip is shown only when ToolTipBodyText is set.

Members at a glance

Constructors
DateToolTipInfoInitialises a tooltip description with no text, in the Windows tooltip colours, as a balloon lasting five seconds.
Fields
ToolTipBackColorThe background of the tooltip. The default is SystemColors.Info.
ToolTipBodyTextThe tooltip's text. The default is an empty string, which shows no tooltip.
ToolTipBodyTextFontThe font of the body text. The default is null: the tooltip's own font.
ToolTipBodyTextForeColorThe colour of the body text. The default is SystemColors.WindowText.
ToolTipBorderColorThe colour of the tooltip's border. The default is SystemColors.InfoText.
ToolTipIconA small picture drawn beside the title, 16 by 16 pixels. The default is null: no picture.
ToolTipLastsForHow long the tooltip stays up, in milliseconds. The default is 5000.
ToolTipStyleThe shape of the tooltip: a balloon pointing at the day, or a rectangle. The default is BinaryToolTipStyle.BalloonType.
ToolTipTitleForeColorThe colour of the title. The default is SystemColors.WindowText.
ToolTipTitleTextThe tooltip's title, drawn above the body. The default is an empty string: no title.
ToolTipTitleWillBeBoldWhether the title is bold. The default is true.
ToolTipTitleWillBeUnderlinedWhether the title is underlined. The default is true.
UseAutomaticMultilineSupportWhether long body text is wrapped onto several lines. The default is true.

Constructors

DateToolTipInfo

public DateToolTipInfo()

Initialises a tooltip description with no text, in the Windows tooltip colours, as a balloon lasting five seconds.

Fields

ToolTipBackColor

public Color ToolTipBackColor

The background of the tooltip. The default is SystemColors.Info.

ToolTipBodyText

public string ToolTipBodyText

The tooltip's text. The default is an empty string, which shows no tooltip.

ToolTipBodyTextFont

public Font ToolTipBodyTextFont

The font of the body text. The default is null: the tooltip's own font.

ToolTipBodyTextForeColor

public Color ToolTipBodyTextForeColor

The colour of the body text. The default is SystemColors.WindowText.

ToolTipBorderColor

public Color ToolTipBorderColor

The colour of the tooltip's border. The default is SystemColors.InfoText.

ToolTipIcon

public Image ToolTipIcon

A small picture drawn beside the title, 16 by 16 pixels. The default is null: no picture.

ToolTipLastsFor

public int ToolTipLastsFor

How long the tooltip stays up, in milliseconds. The default is 5000.

ToolTipStyle

public BinaryToolTipStyle ToolTipStyle

The shape of the tooltip: a balloon pointing at the day, or a rectangle. The default is BinaryToolTipStyle.BalloonType.

ToolTipTitleForeColor

public Color ToolTipTitleForeColor

The colour of the title. The default is SystemColors.WindowText.

ToolTipTitleText

public string ToolTipTitleText

The tooltip's title, drawn above the body. The default is an empty string: no title.

ToolTipTitleWillBeBold

public bool ToolTipTitleWillBeBold

Whether the title is bold. The default is true.

ToolTipTitleWillBeUnderlined

public bool ToolTipTitleWillBeUnderlined

Whether the title is underlined. The default is true.

UseAutomaticMultilineSupport

public bool UseAutomaticMultilineSupport

Whether long body text is wrapped onto several lines. The default is true.