Hi there,
is there a way to not have "LoadLayout" load everything at once but in a sequential way one pane after the other has finished? My Problem is that my application can host many different types of views in a dock manager and some of those views are quite complex. Loading them alone has quite good performance but when the app deserializes the layout and 10 or more panes are created at once, the app hangs for some seconds before the views actually start doing something (I designed them to show what they are doing during initialization - like e.g. filling data into a data grid).
The app is using a bound collection of view models in the dock manager (like from the Prism example), which are then translated to views via data templates. That could probably make it complicated to find out when a pane is completely loaded, I guess...
The described problem is not really a showstopper but it would be great if I could make the app startup a little bit smoother since responsiveness is a big topic in todays applications.
Regards,
Marcel
is there a way to not have "LoadLayout" load everything at once but in a sequential way one pane after the other has finished? My Problem is that my application can host many different types of views in a dock manager and some of those views are quite complex. Loading them alone has quite good performance but when the app deserializes the layout and 10 or more panes are created at once, the app hangs for some seconds before the views actually start doing something (I designed them to show what they are doing during initialization - like e.g. filling data into a data grid).
The app is using a bound collection of view models in the dock manager (like from the Prism example), which are then translated to views via data templates. That could probably make it complicated to find out when a pane is completely loaded, I guess...
The described problem is not really a showstopper but it would be great if I could make the app startup a little bit smoother since responsiveness is a big topic in todays applications.
Regards,
Marcel