Exemplo n.º 1
0
 public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day)
 {
     SelectedDate       = day;
     _calendarMonthView = calendarMonthView;
     _currentDay        = DateTime.Today;
     _currentMonth      = month.Date;
 }
Exemplo n.º 2
0
 public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day, nfloat currentDayBlockWidth)
 {
     SelectedDate              = day;
     _calendarMonthView        = calendarMonthView;
     _currentDay               = DateTime.Today;
     _currentMonth             = month.Date;
     this.currentDayBlockWidth = currentDayBlockWidth;
 }
Exemplo n.º 3
0
 public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day)
 {
     SelectedDate = day;
     _calendarMonthView = calendarMonthView;
     _currentDay = DateTime.Today;
     _currentMonth = month.Date;
 }
Exemplo n.º 4
0
 public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day, bool isPortrait)
 {
     _isPortrait = isPortrait;
     SelectedDate = day;
     _calendarMonthView = calendarMonthView;
     _currentDay = DateTime.Today;
     _currentMonth = month.Date;
 }
Exemplo n.º 5
0
 public MonthGridView(CalendarMonthView calendarMonthView, DateTime month, DateTime day, nfloat currentDayBlockWidth)
 {
     SelectedDate = day;
     _calendarMonthView = calendarMonthView;
     _currentDay = DateTime.Today;
     _currentMonth = month.Date;
     this.currentDayBlockWidth = currentDayBlockWidth;
 }
Exemplo n.º 6
0
        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!
        }