combit List & Label 25 - .NET Online Web Help
DrawPageHandler Delegate


combit.ListLabel25 Namespace : DrawPageHandler Delegate

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

Syntax
'Declaration
 
Public Delegate Sub DrawPageHandler( _
   ByVal sender As Object, _
   ByVal e As DrawPageEventArgs _
) 
public delegate void DrawPageHandler( 
   object sender,
   DrawPageEventArgs e
)
public delegate void DrawPageHandler( 
   Object^ sender,
   DrawPageEventArgs^ e
)

Parameters

sender
e
Example
private void listLabel1_DrawPage(object sender, DrawPageEventArgs e)

{

     e.Graphics.DrawString("DEMO-VERSION!", new Font("Arial",100),

     new SolidBrush(Color.Red), 0F, 0F);

}
Requirements

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

See Also

Reference

DrawPageHandler Members
combit.ListLabel25 Namespace