DrawToolTipEventArgs::DrawText Method (TextFormatFlags)
.NET Framework (current version)
Draws the text of the ToolTip using the system text color and font, and the specified text layout.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- flags
-
Type:
System.Windows.Forms::TextFormatFlags
A TextFormatFlags containing a bitwise combination of values that specifies the display and layout for the ToolTipText.
The DrawText(TextFormatFlags) method is used to customize certain visual aspects of a ToolTip, including the layout of the ToolTip text. This method uses the system specified font and the current value of SystemColors::InfoText for the font color.
.NET Framework
Available since 2.0
Available since 2.0
Show: