Silverlight 5 PivotViewer - detect when trading cards have completed rendering
I have started using the new PivotViewer control in SL5 and it's working great. I am using an Observable collection of items and able to add/ remove items dynamically. My application displays a portfolio of holdings, so when the users switches portfolios, I clear the collection and add the new holdings on a background thread. I am using the BusyIndicator control from the SL toolkit and triggering it's display at the start of the background load, then setting it to go away when I've added the last item to the Observable collection. All this is working great, but what I am finding is that there is quite a lag between populating the collection and seeing trading cards appear (or filters on the left side). I would like to show the user a visual cue that the PivotViewer is working on rendering the trading cards (behind the scenes, for each trading card, it's taking my item template and creating an image, so I understand why it takes time). However, I am unable to find any useful event on the new PivotViewer that would allow me to know it's "ready". Has anyone figured out a way to know that the PivotViewer is done performing its magic and the user can interact with it? My current solution involves throwing up a custom dialog that fades after X seconds (where X is based on the number of items I am adding to the collection). The fader works, but it's a hack and the timing is not always spot on (depends on client side machine capabilities).
Silverlight 5 PivotViewer - detect when trading cards have completed rendering
===

I have started using the new PivotViewer control in SL5 and it's working great. I am using an Observable collection of items and able to add/ remove items dynamically. My application displays a portfolio of holdings, so when the users switches portfolios, I clear the collection and add the new holdings on a background thread. I am using the BusyIndicator control from the SL toolkit and triggering it's display at the start of the background load, then setting it to go away when I've added the last item to the Observable collection. All this is working great, but what I am finding is that there is quite a lag between populating the collection and seeing trading cards appear (or filters on the left side). I would like to show the user a visual cue that the PivotViewer is working on rendering the trading cards (behind the scenes, for each trading card, it's taking my item template and creating an image, so I understand why it takes time). However, I am unable to find any useful event on the new PivotViewer that would allow me to know it's "ready". Has anyone figured out a way to know that the PivotViewer is done performing its magic and the user can interact with it? My current solution involves throwing up a custom dialog that fades after X seconds (where X is based on the number of items I am adding to the collection). The fader works, but it's a hack and the timing is not always spot on (depends on client side machine capabilities).