ToolStripRenderer.DrawSeparator(ToolStripSeparatorRenderEventArgs) ToolStripRenderer.DrawSeparator(ToolStripSeparatorRenderEventArgs) ToolStripRenderer.DrawSeparator(ToolStripSeparatorRenderEventArgs) ToolStripRenderer.DrawSeparator(ToolStripSeparatorRenderEventArgs) Method

定义

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

参数

注解

@No__t-0 方法提供 @no__t 的呈现代码的入口点。The DrawSeparator method provides the entry point to the rendering code for a ToolStripSeparator. 使用此方法可在重写 ToolStrip.OnPaint 方法时绘制 ToolStripSeparator,或强制在自定义 @no__t 中绘制 ToolStripSeparatorUse this method to draw the ToolStripSeparator when overriding the ToolStrip.OnPaint method, or to force a ToolStripSeparator to be drawn in a custom ToolStripRenderer. 若要更改 ToolStripSeparator 的呈现方式,请重写从 ToolStripRenderer 派生的类中的 OnRenderSeparator 方法。To change the way the ToolStripSeparator is rendered, override the OnRenderSeparator method in a class derived from ToolStripRenderer.

适用于