ControlDesigner.OnPaintAdornments(PaintEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A PaintEventArgs the designer can use to draw on the control.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.