ToolStripRenderer::DrawSeparator Method (ToolStripSeparatorRenderEventArgs^)
.NET Framework (current version)
Draws a ToolStripSeparator.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- e
-
Type:
System.Windows.Forms::ToolStripSeparatorRenderEventArgs^
A ToolStripSeparatorRenderEventArgs that contains the data to draw the ToolStripSeparator.
The DrawSeparator method provides the entry point to the rendering code for a ToolStripSeparator. Use this method to draw the ToolStripSeparator when overriding the ToolStrip::OnPaint method, or to force a ToolStripSeparator to be drawn in a custom ToolStripRenderer. To change the way the ToolStripSeparator is rendered, override the OnRenderSeparator method in a class derived from ToolStripRenderer.
.NET Framework
Available since 2.0
Available since 2.0
Show: