'Declaration <DescriptionAttribute("Raised when the text in the MonthHeader's TitleButton is about to be painted.")> <CategoryAttribute("Appearance")> Public Event FormatTitleButtonText As FormatTitleButtonTextEventHandler
'Usage Dim instance As WinCalendar Dim handler As FormatTitleButtonTextEventHandler AddHandler instance.FormatTitleButtonText, handler
[Description("Raised when the text in the MonthHeader's TitleButton is about to be painted.")] [Category("Appearance")] public event FormatTitleButtonTextEventHandler FormatTitleButtonText
Event Data
The event handler receives an argument of type FormatTitleButtonTextEventArgs containing data related to this event. The following FormatTitleButtonTextEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Date | Gets the date from which the information to paint in the TitleButton is retrieved. |
Text | Gets or sets the text to paint in the TitleButton. |
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