Xceed Grid for WinForms v4.3 Documentation
TodayButton Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCalendar Class : TodayButton Property
Gets or sets the WinButton control used as the "Today" button.
Syntax
'Declaration
 
<DescriptionAttribute("The WinButton control used as the Today button.")>
<CategoryAttribute("Appearance")>
Public Property TodayButton As WinButton
'Usage
 
Dim instance As WinCalendar
Dim value As WinButton
 
instance.TodayButton = value
 
value = instance.TodayButton
[Description("The WinButton control used as the Today button.")]
[Category("Appearance")]
public WinButton TodayButton {get; set;}

Property Value

A WinButton control used as the "Today" button. a null reference (Nothing in Visual Basic) if no "Today" button is desired. By default, DefaultTodayButton.
Remarks

The "Today" button sets the present date (DateTime.Now) as the SelectedDate and brings the current month into view.

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