←Select platform

PaintBackground Event

Summary

Occurs when the background of the control is redrawn.

Syntax

C#
VB
C++
public event PaintEventHandler PaintBackground 
  
Public Event PaintBackground As PaintEventHandler 
public: 
event PaintEventHandler^ PaintBackground 

Event Data

The event handler receives an argument of type PaintEventArgs containing data related to this event. The following PaintEventArgs properties provide information specific to this event.

PropertyDescription
ClipRectangle Gets the rectangle in which to paint.
Graphics Gets the graphics used to paint.
Remarks

This event is fired from within the System.Windows.Forms.Control.Paint event of this control.

The event handler receives an argument of type System.Windows.Forms.PaintEventArgs containing data related to this event. The following System.Windows.Forms.PaintEventArgs properties provide information specific to this event.

Property Description
System.Windows.Forms.PaintEventArgs.ClipRectangle Gets the rectangle in which to paint.
System.Windows.Forms.PaintEventArgs.Graphics Gets the graphics used to paint.
Example

For an example, refer to RasterImageList.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly