System.Windows.Forms.DrawToolTipEventArgs.ToolTipText Property

Gets the text for the System.Windows.Forms.ToolTip that is being drawn.

Syntax

public string ToolTipText { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Typically you would use the DrawToolTipEventArgs.ToolTipText property to determine what the ToolTip text is when you are custom drawing your ToolTip. You can use the System.Drawing.Graphics.DrawString(string, System.Drawing.Font, System.Drawing.Brush, float, float) method to customize the drawing of the ToolTip text. If you want to have the ToolTip text drawn using the system specified style, use the DrawToolTipEventArgs.DrawText method. The text value comes from the value passed to the ToolTip.SetToolTip(Control, string) method of the System.Windows.Forms.ToolTip class.

Requirements

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