Xceed Grid for WinForms v4.3 Documentation
WinCalendar Constructor(Boolean,Boolean)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCalendar Class > WinCalendar Constructor : WinCalendar Constructor(Boolean,Boolean)
true if the calendar will contain a TodayButton; false otherwise.
true if the calendar will contain a NoneButton; false otherwise.
Initializes a new instance of the WinCalendar class specifying if the calendar will contain a TodayButton and NoneButton.
Syntax
'Declaration
 
Public Function New( _

   ByVal createTodayButton As Boolean, _

   ByVal createNoneButton As Boolean _

)
'Usage
 
Dim createTodayButton As Boolean

Dim createNoneButton As Boolean

 

Dim instance As New WinCalendar(createTodayButton, createNoneButton)
public WinCalendar( 

   bool createTodayButton,

   bool createNoneButton

)

Parameters

createTodayButton
true if the calendar will contain a TodayButton; false otherwise.
createNoneButton
true if the calendar will contain a NoneButton; false otherwise.
Remarks

The buttons will be centered at the bottom of the calendar even if there is just one of the two.

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
Overload List