GameVM.cs 385 B

123456789101112131415161718192021
  1. using Windows.UI.Xaml.Media;
  2. using Windows.UI.Xaml.Media.Imaging;
  3. namespace YJMPD_UWP.ViewModels
  4. {
  5. public class GameVM : TemplateVM
  6. {
  7. public GameVM() : base("Game")
  8. {
  9. }
  10. public ImageSource Photo
  11. {
  12. get
  13. {
  14. return new BitmapImage(new System.Uri(App.Photo.Photo));
  15. }
  16. }
  17. }
  18. }