C1.Win.C1Input.4.8 Assembly / C1.Win.C1Input Namespace / DateEditMonthCalendar Class / CurrentMonthDisplayOffset Property
Example

In This Topic
CurrentMonthDisplayOffset Property
In This Topic
Gets or sets the current month display offset.
Syntax
'Declaration
 
Public Property CurrentMonthDisplayOffset As Integer
 
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