public NewClaimPage(AuthenticationResult result, MainPage parentpage) { InitializeComponent(); NavigationPage.SetHasNavigationBar(this, true); datePicker.DateSelected += DatePicker_DateSelected; datePicker.MaximumDate = DateTime.Now; datePicker.MinimumDate = new DateTime(2000, 1, 1); datePicker.Format = _dateFormatter; datePicker.IsVisible = false; newClaimDate.Text = HelperUtil.ConvertDateToString(datePicker.Date); _authenticationResult = result; _parentPage = parentpage; InitGridView(); }
private void DatePicker_DateSelected(object sender, DateChangedEventArgs e) { newClaimDate.Text = HelperUtil.ConvertDateToString(datePicker.Date); }