public ObjectContainerHelperBase(IPropertyContainer propertyContainer) : base(propertyContainer) { _propertyItemCollection = new PropertyItemCollection(new ObservableCollection <PropertyItem>()); UpdateFilter(); UpdateCategorization(); }
private void UpdateFilter() { FilterInfo filterInfo = PropertyContainer.FilterInfo; PropertyItems.FilterPredicate = filterInfo.Predicate ?? PropertyItemCollection.CreateFilter(filterInfo.InputString); }
public void Filter(string text) { Predicate <object> filter = PropertyItemCollection.CreateFilter(text); GetDefaultView().Filter = filter; }