Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Re: Dynamic Binding of an Enumerable Collection

  •  04-22-2008, 10:10 AM

    Re: Dynamic Binding of an Enumerable Collection

    Hi,

      For the DataGridControl to receive change notifications from the Data Source, the Data Source needs to implement either IBindingList or INotifyCollectionChanged. I also recommend encapsulating the Data Source within a DataGridCollectionView to benefit from several optimizations made ( grouping, sorting, insertion, ... ).

      For the DataGridControl to receive change notifications from the elements within the Data Source, the elements need to implement INotifyPropertyChanged or use DependencyProperties (through base class DependencyObject).

    Marc Laroche
    Software Developer
    Xceed Software Inc.


    I don’t suffer from insanity, I enjoy every minute of it. - Unknown
View Complete Thread
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.