ToolStripRenderer.DrawSplitButton(ToolStripItemRenderEventArgs) ToolStripRenderer.DrawSplitButton(ToolStripItemRenderEventArgs) ToolStripRenderer.DrawSplitButton(ToolStripItemRenderEventArgs) ToolStripRenderer.DrawSplitButton(ToolStripItemRenderEventArgs) Method

定义

public:
 void DrawSplitButton(System::Windows::Forms::ToolStripItemRenderEventArgs ^ e);
public void DrawSplitButton (System.Windows.Forms.ToolStripItemRenderEventArgs e);
member this.DrawSplitButton : System.Windows.Forms.ToolStripItemRenderEventArgs -> unit
Public Sub DrawSplitButton (e As ToolStripItemRenderEventArgs)

参数

注解

方法提供的呈现代码ToolStripSplitButton的入口点。 DrawSplitButtonThe DrawSplitButton method provides the entry point to the rendering code for a ToolStripSplitButton. 使用此方法ToolStripSplitButtonToolStripSplitButton.OnPaint重写方法时绘制ToolStripSplitButton , 或强制在自定义ToolStripRenderer内绘制。Use this method to draw a ToolStripSplitButton when overriding the ToolStripSplitButton.OnPaint method, or to force a ToolStripSplitButton to be drawn in a custom ToolStripRenderer. 若要更改呈现方式ToolStripSplitButton , 请重写派生OnRenderSplitButtonBackgroundToolStripRenderer的类中的方法。To change the way the ToolStripSplitButton is rendered, override the OnRenderSplitButtonBackground method in a class derived from ToolStripRenderer.

适用于