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