ControlDesigner.OnPaintAdornments(PaintEventArgs) Method

Definition

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)

Parameters

pe
PaintEventArgs

A PaintEventArgs the designer can use to draw on the control.

Applies to