ToolStripRenderer.DrawGrip(ToolStripGripRenderEventArgs) ToolStripRenderer.DrawGrip(ToolStripGripRenderEventArgs) ToolStripRenderer.DrawGrip(ToolStripGripRenderEventArgs) ToolStripRenderer.DrawGrip(ToolStripGripRenderEventArgs) Method

定義

ToolStrip 上繪製移動控制軸。Draws a move handle on a ToolStrip.

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

參數

備註

@No__t-0 方法會為位於 ToolStrip 的移動控點提供轉譯程式碼的進入點。The DrawGrip method provides an entry point to the rendering code for a move handle located on a ToolStrip. 請在覆寫 ToolStrip.OnPaintGrip 方法時使用這個方法,或強制在自訂的 ToolStripRenderer 中繪製移動控點。Use this method when overriding the ToolStrip.OnPaintGrip method, or to force a move handle to be drawn in a custom ToolStripRenderer. 若要變更轉譯移動控點的方式,請覆寫衍生自 ToolStripRenderer 之類別中的 OnRenderGrip 方法。To change the way a move handle is rendered, override the OnRenderGrip method in a class derived from ToolStripRenderer.

適用於