public ChannelSettings()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;

            channelSettingsViewModel = new ChannelSettingsViewModel(App.NavigationService, App.ErrorMapper);
            this.DataContext = channelSettingsViewModel;

            // Initialisiere das Drawer Layout.
            DrawerLayout.InitializeDrawerLayout();
            ListMenuItems.ItemsSource = channelSettingsViewModel.DrawerMenuEntriesStatusNoLogin;    
        }
예제 #2
0
 private void BMDSwitcherSettings_Loaded(object sender, RoutedEventArgs e)
 {
     _viewModel       = new ChannelSettingsViewModel();
     this.DataContext = _viewModel;
 }