/// <summary>
		/// Initializes a new instance of the <see cref="MonthGridView"/> class.
		/// </summary>
		/// <param name="calendarMonthView">The calendar month view.</param>
		/// <param name="month">The month.</param>
		public MonthGridView(CalendarMonthView calendarMonthView, DateTime month)
		{
			_calendarMonthView = calendarMonthView;
			_currentMonth = month.Date;

			var tapped = new UITapGestureRecognizer(PTapped);
			AddGestureRecognizer(tapped);
		}
        /// <summary>
        /// Initializes a new instance of the <see cref="MonthGridView"/> class.
        /// </summary>
        /// <param name="calendarMonthView">The calendar month view.</param>
        /// <param name="month">The month.</param>
        public MonthGridView(CalendarMonthView calendarMonthView, DateTime month)
        {
            _calendarMonthView = calendarMonthView;
            _currentMonth      = month.Date;

            var tapped = new UITapGestureRecognizer(PTapped);

            AddGestureRecognizer(tapped);
        }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarDayView"/> class.
 /// </summary>
 /// <param name="mv">The mv.</param>
 public CalendarDayView(CalendarMonthView mv)
 {
     _mv             = mv;
     BackgroundColor = mv.StyleDescriptor.DateBackgroundColor;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarDayView"/> class.
 /// </summary>
 /// <param name="mv">The mv.</param>
 public CalendarDayView(CalendarMonthView mv)
 {
     _mv = mv;
     BackgroundColor = mv.StyleDescriptor.DateBackgroundColor;
 }