public static CriteriaOperator GetTotalCriteria(this ListView xpandListView) { xpandListView.SaveModel(); List <CriteriaOperator> operators = xpandListView.CollectionSource.Criteria.GetValues(); operators.Add(CriteriaOperator.Parse(xpandListView.Model.Filter)); return(XPObjectSpace.CombineCriteria(operators.ToArray())); }