ControlDesigner.OnPaintAdornments(PaintEventArgs) 方法

定义

当设计器正在管理的控件绘制了它的图面时接收调用,这样设计器就可以在控件顶部绘制任意附加装饰。

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,设计器可以使用它在控件上绘制。

适用于