'Declaration <DescriptionAttribute("Raised when a day is about to be painted.")> <CategoryAttribute("Appearance")> Public Event PaintDay As PaintDayEventHandler
'Usage Dim instance As WinCalendar Dim handler As PaintDayEventHandler AddHandler instance.PaintDay, handler
[Description("Raised when a day is about to be painted.")] [Category("Appearance")] public event PaintDayEventHandler PaintDay
Event Data
The event handler receives an argument of type PaintDayEventArgs containing data related to this event. The following PaintDayEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ClipRectangle | (Inherited from System.Windows.Forms.PaintEventArgs) |
Graphics | (Inherited from System.Windows.Forms.PaintEventArgs) |
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