Beispiel #1
0
        public HomePage()
        {
            InitializeComponent();
            PrepareAnimations();
            InteractionEffectManager.AllowedTypes.Add(typeof(RadDataBoundListBoxItem));

            this.ForumsList.IsSynchronizedWithCurrentItem = false;
            this.BookmarksList.IsSynchronizedWithCurrentItem = false;
            this.FavoritesListBox.IsSynchronizedWithCurrentItem = false;
            this.FavoritesListBox.ItemAnimationMode = ItemAnimationMode.PlayOnNewSource;

            HomePage._context = new ViewModels.HomePageViewModel(this.ForumsList);
            this._defaultBar = this.ApplicationBar;

            BindEvents();
        }
Beispiel #2
0
 public HomePage()
 {
     InitializeComponent();
     Datasource = new HomePageViewModel();
     MainContent.DataContext = Datasource;
 }