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