public override void ViewDidLoad()
        {
            base.ViewDidLoad ();

            this.Title = "Date Picker";

            // setup our custom action sheet date picker
            actionSheetDatePicker = new UIViewDatePicker (this.View);
            actionSheetDatePicker.Title = "Choose Date:";
            actionSheetDatePicker.DatePicker.ValueChanged += Handle_actionSheetDatePickerDatePickerValueChanged;
            actionSheetDatePicker.DatePicker.Mode = UIDatePickerMode.DateAndTime;
            actionSheetDatePicker.DatePicker.MinimumDate = DateTime.Today.AddDays (-7);
            actionSheetDatePicker.DatePicker.MaximumDate = DateTime.Today.AddDays (7);
            this.btnChooseDate.TouchUpInside += (s, e) => { actionSheetDatePicker.Show (); };

            // setup our countdown timer
            actionSheetTimerPicker = new UIViewDatePicker (this.View);
            actionSheetTimerPicker.Title = "Choose Time:";
            actionSheetTimerPicker.DatePicker.Mode = UIDatePickerMode.CountDownTimer;
        }
		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();

			Title = "Date Picker";

			// setup our custom action sheet date picker
			actionSheetDatePicker = new UIViewDatePicker (View) {
				Title = "Choose Date:"
			};
			actionSheetDatePicker.DatePicker.ValueChanged += OnValueChanged;
			actionSheetDatePicker.DatePicker.Mode = UIDatePickerMode.DateAndTime;
			btnChooseDate.TouchUpInside += (s, e) => {
				actionSheetDatePicker.Show ();
			};

			// setup our countdown timer
			actionSheetTimerPicker = new UIViewDatePicker (View);
			actionSheetTimerPicker.Title = "Choose Time:";
			actionSheetTimerPicker.DatePicker.Mode = UIDatePickerMode.CountDownTimer;
		}