Beispiel #1
0
        private void SelectImage(object obj)
        {
            var imageFile = MessengerService.ShowSelectFileDialog <IAddUserViewModel>(false,
                                                                                      new FileSelectionFilter("Image Files (*.png;*.jpg)")
            {
                "png", "jpg"
            });

            Image = ReadImageBytes(imageFile);
        }