UI\MobileControls\Adapters\WmlCalendarAdapter.cs (46)
104Control.Controls.Add(_selectList);
109Control.Controls.Add(_textBox);
147if (Page.IsPostBack && Control.VisibleDate == DateTime.MinValue)
149Control.VisibleDate = DateTime.Today;
167Control.Controls.Contains(list))
192Control.VisibleDate = new DateTime(Int64.Parse((String)triplet.Third, CultureInfo.InvariantCulture));
199Control.VisibleDate = new DateTime(Int64.Parse((String)viewState[2], CultureInfo.InvariantCulture));
222DateTime visibleDate = Control.VisibleDate;
285currentInfo.Calendar.GetEra(Control.VisibleDate);
340String promptText = Control.CalendarEntryText;
364arr.Add(Control.VisibleDate.ToString(
376if (Control.SelectionMode == CalendarSelectionMode.DayWeek ||
377Control.SelectionMode == CalendarSelectionMode.DayWeekMonth)
381if (Control.SelectionMode == CalendarSelectionMode.DayWeekMonth)
411writer.RenderText(GetEra(Control.VisibleDate));
418_textBox.Text = Control.VisibleDate.ToString(numericDateFormat, CultureInfo.InvariantCulture);
440tempDate = Control.VisibleDate;
475Control.VisibleDate.ToString(monthFormat, CultureInfo.CurrentCulture));
487tempDate = FirstCalendarDay(Control.VisibleDate);
511tempDate = Control.VisibleDate;
523if (Control.ShowDayHeader)
576SelectRange(Control.VisibleDate, Control.VisibleDate);
596Control.VisibleDate = dateTime;
653Control.Controls.Add(list);
790return(Control.FirstDayOfWeek == FirstDayOfWeek.Default)
792: (int) Control.FirstDayOfWeek;
820Control.VisibleDate = _threadCalendar.AddMonths(
821Control.VisibleDate, _monthsToDisplay);
827Control.VisibleDate = _threadCalendar.AddMonths(
828Control.VisibleDate, -_monthsToDisplay);
834Control.VisibleDate = _threadCalendar.AddMonths(
835Control.VisibleDate,
841DateTime beginDate = EffectiveVisibleDate(Control.VisibleDate);
842Control.VisibleDate = beginDate;
863DateTime tempDate = FirstCalendarDay(Control.VisibleDate);
865Control.VisibleDate = _threadCalendar.AddDays(tempDate, e.ListItem.Index * 7);
870DateTime endDate = _threadCalendar.AddDays(Control.VisibleDate, 6);
872SelectRange(Control.VisibleDate, endDate);
887Control.VisibleDate = _threadCalendar.AddDays(Control.VisibleDate, e.ListItem.Index);
889SelectRange(Control.VisibleDate, Control.VisibleDate);
900SelectedDatesCollection selectedDates = Control.SelectedDates;
906Control.RaiseSelectionChangedEvent();
912Control ctl = Control;