public YouTubeChannelList() { this.InitializeComponent(); _navigationHelper = new NavigationHelper(this); YouTubeChannelModel = new YouTubeChannelViewModel(); SizeChanged += OnSizeChanged; }
public YouTubeChannelDetail() { this.InitializeComponent(); _navigationHelper = new NavigationHelper(this); ytViewer.NavigationHelper = _navigationHelper; YouTubeChannelModel = new YouTubeChannelViewModel(); DataContext = this; }
public YouTubeChannelDetail() { this.InitializeComponent(); _navigationHelper = new NavigationHelper(this); ytViewer.NavigationHelper = _navigationHelper; YouTubeChannelModel = new YouTubeChannelViewModel(); DataContext = this; ApplicationView.GetForCurrentView(). SetDesiredBoundsMode(ApplicationViewBoundsMode.UseVisible); }