ToolStripRenderer.DrawArrow(ToolStripArrowRenderEventArgs) ToolStripRenderer.DrawArrow(ToolStripArrowRenderEventArgs) ToolStripRenderer.DrawArrow(ToolStripArrowRenderEventArgs) ToolStripRenderer.DrawArrow(ToolStripArrowRenderEventArgs) Method

定義

ToolStripItem 上繪製箭號。Draws an arrow on a ToolStripItem.

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

參數

備註

DrawArrow方法提供箭號呈現程式碼的進入點。The DrawArrow method provides an entry point to the arrow rendering code. 覆寫ToolStripItem.OnPaint方法時, 使用這個方法繪製箭號, 或強制在自訂ToolStripRenderer中繪製箭號。Use this method to draw an arrow when overriding the ToolStripItem.OnPaint method, or to force an arrow to be drawn in a custom ToolStripRenderer. 若要變更箭頭的呈現方式, 請覆寫OnRenderArrow衍生自之ToolStripRenderer類別中的方法。To change the way an arrow is rendered, override the OnRenderArrow method in a class derived from ToolStripRenderer.

適用於