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.

适用于