ControlDesigner.OnPaintAdornments(PaintEventArgs) 方法

定义

当设计器正在管理的控件绘制了它的图面时接收调用,这样设计器就可以在控件顶部绘制任意附加装饰。Receives a call when the control that the designer is managing has painted its surface so the designer can paint any additional adornments on top of the control.

protected:
 virtual void OnPaintAdornments(System::Windows::Forms::PaintEventArgs ^ pe);
protected virtual void OnPaintAdornments (System.Windows.Forms.PaintEventArgs pe);
abstract member OnPaintAdornments : System.Windows.Forms.PaintEventArgs -> unit
override this.OnPaintAdornments : System.Windows.Forms.PaintEventArgs -> unit
Protected Overridable Sub OnPaintAdornments (pe As PaintEventArgs)

参数

pe
PaintEventArgs

PaintEventArgs,设计器可以使用它在控件上绘制。A PaintEventArgs the designer can use to draw on the control.

适用于