public void Clear() { Dispatcher.BeginInvoke(new Action(() => { Data.Clear(); FilteredData.Clear(); PageData.Clear(); })); }
public void UpdatePageData() { PageData.Clear(); if (Paging.Page.HasValue) { PageData.AddRange(FilteredData.Skip((Paging.Page.Value - 1) * Context.Get <AllSettings>().PageSize). Take(Context.Get <AllSettings>().PageSize)); } }