Browse by Tags

Tagged Content List
  • Blog Post: Performing Bulk Modifications To a Databound Collection

    On a WinForms project in the past we were working on scalability and performance. One of the things we discovered was that individually invoking items to the UI thread was a bottleneck. The theory is that the each time one does a BeginInvoke it adds a message to the Message queue. This adds overhead...
  • Blog Post: AddRange and ObservableCollection

    The Issue Recently a friend asked a question about ObservableCollection. The question was how to do an “AddRange” method on it. The obvious answer is, of course, just write a method which iterates over the input collection and calls Add for each. But this really isn’t the answer, because the question...
  • Blog Post: ConvertingReadOnlyObservableCollection

    In my project we always deal with live data - that is data from the Data Model may change at any minute due to reasons like user interaction or an asynchronous change in what system the UI is modeling. For the most part we want the UI to update automatically in response to the changes. INotifyCollectionChanged...
Page 1 of 1 (3 items)