private void SetSearchColumns(ItemTypeItem itemType, List <PropertyInfo> predefinedPropertyValues) { //get properties by item type and Apply layout settings var properiesForSearch = searcher.GetPropertiesForSearch(itemType.itemTypeName); //update by PredefinedPropertyValues foreach (var prop in predefinedPropertyValues) { var foundedProperty = properiesForSearch.FirstOrDefault(pi => pi.PropertyName == prop.PropertyName); if (foundedProperty != null) { foundedProperty.PropertyValue = prop.PropertyValue; foundedProperty.IsReadonly = prop.IsReadonly; } } currentSearch.SavedSearchProperties = properiesForSearch; View.SetSearchColumns(currentSearch.SavedSearchProperties); }