Draws the border for a System.Windows.Forms.ToolStrip.
- e
- A System.Windows.Forms.ToolStripRenderEventArgs that contains the data to draw the border for the System.Windows.Forms.ToolStrip.
The ToolStripRenderer.DrawToolStripBorder(ToolStripRenderEventArgs) method provides the entry point to the rendering code for the border of a System.Windows.Forms.ToolStrip. Use this method to draw the border of a System.Windows.Forms.ToolStrip when overriding the ToolStrip.OnPaint(PaintEventArgs) method, or to force the border of a System.Windows.Forms.ToolStrip to be drawn in a custom System.Windows.Forms.ToolStripRenderer. To change the way the border of a System.Windows.Forms.ToolStrip is rendered, override the ToolStripRenderer.OnRenderToolStripBorder(ToolStripRenderEventArgs) method in a class derived from System.Windows.Forms.ToolStripRenderer.