コード例 #1
0
 public YoutubePage()
 {
     this.InitializeComponent();
     ViewModel        = new YoutubePageViewModel();
     this.DataContext = ViewModel;
     Loaded          += YoutubePage_Loaded;
     SizeChanged     += YoutubePage_SizeChanged;
 }
コード例 #2
0
 public YoutubePage()
 {
     InitializeComponent();
     BindingContext = new YoutubePageViewModel();
 }