Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DrawToolTipEventArgs::DrawText Method (TextFormatFlags)

 

Draws the text of the ToolTip using the system text color and font, and the specified text layout.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
void DrawText(
	TextFormatFlags flags
)

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
Return to top
Show:
© 2017 Microsoft