Exemple #1
0
 public ActionSheetPopupViewModel(ActionSheetModel model)
 {
     Title        = model.Title;
     ButtonLabels = model.Buttons.ToList();
     CancelLabel  = model.Cancel;
     ContentType  = model.ContentType;
 }
Exemple #2
0
 public ActionSheetPopupPage(ActionSheetModel model)
 {
     try
     {
         InitializeComponent();
         CloseWhenBackgroundIsClicked = false;
         _viewModel     = new ActionSheetPopupViewModel(model);
         BindingContext = _viewModel;
     }
     catch (System.Exception ex)
     {
         throw;
     }
 }