Xceed Grid for WinForms v4.3 Documentation
OnPaintDayBackground Method


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCalendar Class : OnPaintDayBackground Method
A PaintDayEventArgs that contains the event data.
Raises the PaintDay event.
Syntax
'Declaration
 
Protected Friend Overridable Sub OnPaintDayBackground( _

   ByVal e As PaintDayEventArgs _

) 
'Usage
 
Dim instance As WinCalendar

Dim e As PaintDayEventArgs

 

instance.OnPaintDayBackground(e)
protected internal virtual void OnPaintDayBackground( 

   PaintDayEventArgs e

)

Parameters

e
A PaintDayEventArgs that contains the event data.
Remarks
When overriding OnPaintDay in a derived class, be sure to call the base class's OnPaintDay method so that registered delegates receive the event.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinCalendar Class
WinCalendar Members