public PagingSample()
        {
            InitializeComponent();
            _remoteCollectionView     = new RemoteCollectionView(Load, OnLoadCompleted);
            FirstDemoRoot.DataContext = _remoteCollectionView;

            _asyncRemoteCollectionView = new AsyncRemoteCollectionView(LoadAsync, OnAsyncLoadCompleted);
            AsyncDemoRoot.DataContext  = _asyncRemoteCollectionView;
            Loaded += PagingSample_Loaded;
        }
        public CurdSample()
        {
            InitializeComponent();
            _service = new TestCurdService();
            _asyncRemoteCollectionView = new AsyncRemoteCollectionView(LoadAsync, OnAsyncLoadCompleted);
            var sortDescription = new SortDescription("Id", ListSortDirection.Descending);

            _asyncRemoteCollectionView.SortDescriptions.Add(sortDescription);
            DataContext = _asyncRemoteCollectionView;
            Loaded     += PagingSample_Loaded;
        }