MonoTouch.Dialog.MonthGridView.TouchesBegan C# (CSharp) Method

TouchesBegan() public method

public TouchesBegan ( NSSet touches, UIEvent evt ) : void
touches NSSet
evt UIEvent
return void
        public override void TouchesBegan(NSSet touches, UIEvent evt)
        {
            base.TouchesBegan (touches, evt);
            if (SelectDayView ((UITouch)touches.AnyObject)) {
                SelectedDate = new DateTime (_currentMonth.Year, _currentMonth.Month, SelectedDayView.Tag);
                if (_calendarMonthView.OnDateSelected != null)
                    _calendarMonthView.OnDateSelected (new DateTime (_currentMonth.Year, _currentMonth.Month, SelectedDayView.Tag));
            }
        }