DateToolTipInfo
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 | |
|---|---|
DateToolTipInfo | Initialises a tooltip description with no text, in the Windows tooltip colours, as a balloon lasting five seconds. |
| Fields | |
ToolTipBackColor | The background of the tooltip. The default is SystemColors.Info. |
ToolTipBodyText | The tooltip's text. The default is an empty string, which shows no tooltip. |
ToolTipBodyTextFont | The font of the body text. The default is null: the tooltip's own font. |
ToolTipBodyTextForeColor | The colour of the body text. The default is SystemColors.WindowText. |
ToolTipBorderColor | The colour of the tooltip's border. The default is SystemColors.InfoText. |
ToolTipIcon | A small picture drawn beside the title, 16 by 16 pixels. The default is null: no picture. |
ToolTipLastsFor | How long the tooltip stays up, in milliseconds. The default is 5000. |
ToolTipStyle | The shape of the tooltip: a balloon pointing at the day, or a rectangle. The default is BinaryToolTipStyle.BalloonType. |
ToolTipTitleForeColor | The colour of the title. The default is SystemColors.WindowText. |
ToolTipTitleText | The tooltip's title, drawn above the body. The default is an empty string: no title. |
ToolTipTitleWillBeBold | Whether the title is bold. The default is true. |
ToolTipTitleWillBeUnderlined | Whether the title is underlined. The default is true. |
UseAutomaticMultilineSupport | Whether long body text is wrapped onto several lines. The default is true. |
Constructors
DateToolTipInfo
Initialises a tooltip description with no text, in the Windows tooltip colours, as a balloon lasting five seconds.
Fields
ToolTipBackColor
The background of the tooltip. The default is SystemColors.Info.
ToolTipBodyText
The tooltip's text. The default is an empty string, which shows no tooltip.
ToolTipBodyTextFont
The font of the body text. The default is null: the tooltip's own font.
ToolTipBodyTextForeColor
The colour of the body text. The default is SystemColors.WindowText.
ToolTipBorderColor
The colour of the tooltip's border. The default is SystemColors.InfoText.
ToolTipIcon
A small picture drawn beside the title, 16 by 16 pixels. The default is null: no picture.
ToolTipLastsFor
How long the tooltip stays up, in milliseconds. The default is 5000.
ToolTipStyle
The shape of the tooltip: a balloon pointing at the day, or a rectangle. The default is BinaryToolTipStyle.BalloonType.
ToolTipTitleForeColor
The colour of the title. The default is SystemColors.WindowText.
ToolTipTitleText
The tooltip's title, drawn above the body. The default is an empty string: no title.
ToolTipTitleWillBeBold
Whether the title is bold. The default is true.
ToolTipTitleWillBeUnderlined
Whether the title is underlined. The default is true.
UseAutomaticMultilineSupport
Whether long body text is wrapped onto several lines. The default is true.