コード例 #1
0
 public ObjectContainerHelperBase(IPropertyContainer propertyContainer)
     : base(propertyContainer)
 {
     _propertyItemCollection = new PropertyItemCollection(new ObservableCollection <PropertyItem>());
     UpdateFilter();
     UpdateCategorization();
 }
コード例 #2
0
        private void UpdateFilter()
        {
            FilterInfo filterInfo = PropertyContainer.FilterInfo;

            PropertyItems.FilterPredicate = filterInfo.Predicate
                                            ?? PropertyItemCollection.CreateFilter(filterInfo.InputString);
        }
コード例 #3
0
        public void Filter(string text)
        {
            Predicate <object> filter = PropertyItemCollection.CreateFilter(text);

            GetDefaultView().Filter = filter;
        }