ComponentOne Input for WinForms
CurrentMonthDisplayOffset Property
Example 

C1.Win.C1Input.4 Assembly > C1.Win.C1Input Namespace > DateEditMonthCalendar Class : CurrentMonthDisplayOffset Property
Gets or sets the current month display offset.
Syntax
'Declaration
 
Public Property CurrentMonthDisplayOffset As System.Integer
public System.int CurrentMonthDisplayOffset {get; set;}
Example
This example shows current month at the center of the multi-dimensional drop down calendar.
c1DateEdit1.Calendar.CalendarDimensions = new Size(3, 1);
// Display current month at the center of the calendar.
// Other possible values:
// 0 - (Default) - at the Right
// 1 - Center
// 2 - Left
c1DateEdit1.Calendar.CurrentMonthDisplayOffset = 1;
See Also

Reference

DateEditMonthCalendar Class
DateEditMonthCalendar Members