/// <summary> /// Loads the default values for controls with corresponding App Variables. /// </summary> private void LoadDefaults() { entryTripName.Text = "Trip-" + (DataFunctions.GetAllTripsCount() + 1).ToString(); dpCollectionDate.Date = DateTime.Today; btnBack.IsVisible = userIsEditing; }