private bool CustomerFilter(object item) { //IGroup customer = item as IGroup; if (!string.IsNullOrEmpty(_filterString) && SearchProperties != null && SearchProperties.Any()) { return(SearchProperties.Any(x => (item.GetType().GetProperty(x).GetValue(item)?.ToString().ToLower() ?? string.Empty).Contains(_filterString.ToLower()))); } return(true); }