Esempio n. 1
0
        private void SetColumnChoosePopup()
        {
            MainPopup.PopupView.AcceptCommand   = _viewModel.MoveTaskCommand;
            MainPopup.PopupView.HeaderTitle     = AppResources.MoveTask;
            MainPopup.PopupView.ContentTemplate = Application.Current.Resources["MoveTaskPopup"] as DataTemplate;
            MainPopup.PopupView.ShowFooter      = false;
            MainPopup.PopupView.HeightRequest   = 300;

            MainPopup.Show();
        }
Esempio n. 2
0
        private void SetRenameColumnPopup()
        {
            MainPopup.PopupView.AcceptCommand     = _viewModel.RenameColumnCommand;
            MainPopup.PopupView.HeaderTitle       = AppResources.RenameColumn;
            MainPopup.PopupView.AcceptButtonText  = AppResources.Accept;
            MainPopup.PopupView.DeclineButtonText = AppResources.Cancel;
            MainPopup.PopupView.AppearanceMode    = AppearanceMode.TwoButton;
            MainPopup.PopupView.ShowFooter        = true;
            MainPopup.PopupView.ContentTemplate   = Application.Current.Resources["RenameColumnPopup"] as DataTemplate;
            MainPopup.PopupView.HeightRequest     = 150;

            MainPopup.Show();
        }
 public void Open()
 {
     MainPopup.Show();
 }