Exemple #1
0
        public void SearchItems(string seatchText)
        {
            if (seatchText == string.Empty)
            {
                PagerFirstPage();
                return;
            }

            EventTypesItemsView = CollectionViewSource.GetDefaultView(EventTypesList);
            EventTypesItemsView.Refresh();
            EventTypesItemsView.Filter = new Predicate <object>(o => FilterEventTypes(o as EventTypes, seatchText));
        }
Exemple #2
0
 private void RefreshUI()
 {
     EventTypesItemsView = CollectionViewSource.GetDefaultView(EventTypesUI.EventTypes);
     EventTypesItemsView.Refresh();
     PageInfoContent = PageNumberDisplay();
 }