private void RefreshBindings(int page)
 {
     this.lv_Projects.ItemsSource     = PagingManager.Page(page);
     this.btn_CurrentPage.Content     = this.PagingManager.CurrentPage;
     this.btn_allPages.Content        = this.PagingManager.MaxPage;
     this.btn_PagingForward.IsEnabled = this.PagingManager.CanPageForward;
     this.btn_PagingBack.IsEnabled    = this.PagingManager.CanPageBack;
 }
        private void Load()
        {
            var projectLogic   = new ProjectLogic();
            var loadedProjects = projectLogic.GetAllProjects();
            var viewModels     = loadedProjects.Where(lp => this.ShowOnlyActive ? lp.ProjectStatus == EnumDefinition.ProjectStatus.Active : lp.Id > 0).Select(lp => new ProjectViewModel(lp));

            this.Projects           = new List <ProjectViewModel>(viewModels);
            PagingManager.Data      = this.Projects.ToList();
            lv_Projects.ItemsSource = PagingManager.Page(this.PagingManager.CurrentPage);
        }