コード例 #1
0
        private void UpdateReviews(ReviewDetailsDataModel review)
        {
            var index = ReviewList.IndexOf(review);

            ReviewList.Remove(review);
            ReviewList.Insert(index, review);
            //ReviewList = ReviewList;
        }
コード例 #2
0
        private void UpdateReviews(ReviewDetailsDataModel review)
        {
            try
            {
                var index = ReviewList.IndexOf(review);
                ReviewList.Remove(review);
                ReviewList.Insert(index, review);
                if (review.IsVisible)
                {
                    ShowDetailsIcon = _expandIcon;
                }
                else
                {
                    ShowDetailsIcon = _collapseIcon;
                }
            }catch (Exception e) {
            }

            //ReviewList = ReviewList;
        }