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

Updates to properties not working

  •  07-28-2008, 2:48 PM

    Updates to properties not working

    I thought this was working in the past, and I'm running out of ideas as to what may have happened.  I thought I'd throw this post up while I work on a testapp.

    I have a DataGridCollectionView viewing a collection (w/ INotifyCollectionChanged) of data objects which have INotifyPropertyChanged.  When I update one of the properties, nothing is happening in the ui.  If I select it's row, and move to a new row, it updates.  Highlighting and moving up/down with the keyboard does not trigger the updates.

    I know the PropertyChanged event is getting fired because I am watching it for other purposes.  My best guess is that my problem lies in the fact that my collection is a BindableCollection<T>: ObservableCollection<T>.  It basically intercepts CollectionChanged events and ensures they are fired on the ui thread (http://shevaspace.spaces.live.com/Blog/cns!FD9A0F1F8DD06954!547.entry).  But, CollectionChanged only is involved with the collection as a whole, not the individual rows, so it doesn't seem like that should be an issue.

     thanks for any pointers,

    Tom

View Complete Thread
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.