System.Windows.Forms.DrawToolTipEventArgs.DrawBorder Method

Draws the border of the System.Windows.Forms.ToolTip using the system border color.

Syntax

public void DrawBorder ()

Remarks

Use this method when you want to customize certain visual aspects of a System.Windows.Forms.ToolTip, but want a standard ToolTip border drawn for you using the current value of System.Drawing.SystemColors.WindowFrame. The border is drawn to the size specified by the DrawToolTipEventArgs.Bounds property. You can increase the bounds of the System.Windows.Forms.ToolTip before it is shown by handling the ToolTip.Popup event.

Requirements

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