Comparison of collectionviewsource observablecollection (collectionview and collectionviewsource pagedcollecti

Source: Internet
Author: User

Collectionviewsource does not seem to have been deleted.

The observablecollection class implements both the inotifypropertychanged interface and the inotifycollectionchanged interface. The observablecollection class can not only implement add, remove, clear, and insert operations, but also trigger the propertychanged event.

 

 

Although the above observablecollection is very useful and inherits the inotifypropertychanged interface, sometimes we need to sort, filter, and pagination the collection. In this case, we need to use the icollectionview interface, also inherits the inotifycollectionchanged interface. The icollectionview interface has a subclass in Silverlight: pagedcollectionview, and a subclass in WPF: listcollectionview.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.