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