public ImagePopupPage(ImagePopupViewModel vm)
 {
     InitializeComponent();
     VM = vm;
     this.BindingContext   = VM;
     this.HasSystemPadding = false;
 }
Exemple #2
0
        public ImageMediaGalleryUserControl()
        {
            InitializeComponent();

            vm = new ImagePopupViewModel();
            if (vm != null)
            {
                vm.ImageMediaSourceUpdated += vm_ImageMediaSourceUpdated;
            }
            DataContext = vm;
        }
Exemple #3
0
 public ImagePopup()
 {
     InitializeComponent();
     //this.MouseLeftButtonDown += ImagePopup_MouseLeftButtonDown;
     //this.MouseLeftButtonUp += ImagePopup_MouseLeftButtonUp;
     //this.MouseMove += ImagePopup_MouseMove;
     vm = new ImagePopupViewModel();
     if (vm != null)
     {
         vm.ImageMediaSourceUpdated += vm_ImageMediaSourceUpdated;
     }
     DataContext = vm;
 }
Exemple #4
0
 public ImagePopup()
 {
     InitializeComponent();
     DataContext = new ImagePopupViewModel();
 }