combit List & Label 25 - .NET Online Web Help
DrawPage Event

combit.ListLabel25 Namespace > ListLabel Class : DrawPage Event

This event is called in the case of list projects for each displayed page and allows customized drawing with GDI+.

Public Event DrawPage As DrawPageHandler
public event DrawPageHandler DrawPage
event DrawPageHandler^ DrawPage
Event Data

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


Internal callback data.


Graphics object. You can draw in the work space using the usual GDI + methods.


Is true, if called before drawing the remaining page, else false.


Indicates whether the call is executed for the designer preview.

private void listLabel1_DrawPage(object sender, DrawPageEventArgs e)
    e.Graphics.DrawString("DEMO-VERSION!", new Font("Arial",100),
        new SolidBrush(Color.Red), 0F, 0F);

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also