public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day) { SelectedDate = day; _calendarMonthView = calendarMonthView; _currentDay = DateTime.Today; _currentMonth = month.Date; }
public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day, nfloat currentDayBlockWidth) { SelectedDate = day; _calendarMonthView = calendarMonthView; _currentDay = DateTime.Today; _currentMonth = month.Date; this.currentDayBlockWidth = currentDayBlockWidth; }
public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day) { SelectedDate = day; _calendarMonthView = calendarMonthView; _currentDay = DateTime.Today; _currentMonth = month.Date; }
public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day, bool isPortrait) { _isPortrait = isPortrait; SelectedDate = day; _calendarMonthView = calendarMonthView; _currentDay = DateTime.Today; _currentMonth = month.Date; }
public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day, nfloat currentDayBlockWidth) { SelectedDate = day; _calendarMonthView = calendarMonthView; _currentDay = DateTime.Today; _currentMonth = month.Date; this.currentDayBlockWidth = currentDayBlockWidth; }
public MonthGridView(CalendarMonthView calendarMonthView, DateTime monthDisplayed, DateTime selectedDay) { _calendarMonthView = calendarMonthView; _currentDay = DateTime.Today; _currentMonth = new DateTime(monthDisplayed.Year, monthDisplayed.Month, 1); SelectedDate = selectedDay; // this day will be highlighted/selected only if in the current month! }