dbicButton Send comments on this topic.
Developing with dbicButton - User Drawn Button After

Glossary Item Box

The User Drawn Button After allows the developer to append their own drawing and designs to the display of the dbicButton, after the drawning routines of completed.

The User Drawn Button After event fires after the button is painted.  The event passes an e argument that contains the following custom properties …

·        e.ButtonStatus (of type enumButtonStatus): The current status of the button being drawn.

·        e.Graphics (of type System.Drawing.Graphics): A handle to the graphics object responsible for drawing the control. Through the e.Graphics object the developer has access to the GDI+ methods for drawing objects to a display device.

·        e.Rect (of type System.Drawing.Rectangle): A rectangle representing the area being painted in the control. The rectangle is defined by an X,Y coordinate (top left of rectangle) and a width and height of the area being painted.  All values are in pixels.