UpdateLayout with ObservableCollection change

2 posts, 0 answers
  1. Sehe
    Sehe avatar
    14 posts
    Member since:
    Jun 2011

    Posted 13 Jan 2012 Link to this post

    Hello,

    I recently updated my application to the 2011 Q3 DLLs. I have a tab control that binds to an ObservableCollection for the ItemsSource. I have to add an item to the ObservableCollection in code. I used to be able to do an UpdateLayout on the tab control, and it would add the new tab. It doesn't do this anymore. I can set the ItemsSource to null and back to the ObservableCollection to get the tab to show up, but that has other very bad consequences in my application.

    Have you seen this problem with the UpdateLayout not working? Do you know of a work around?

    Thanks,
    Scott
  2. Sehe
    Sehe avatar
    14 posts
    Member since:
    Jun 2011

    Posted 16 Jan 2012 Link to this post

    Never mind. I didn't realize that a co-worker made a change in this area. It was not an issue with the Tab-Control.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top