I would advise you to move the data loading logic into your view model and expose the result as a new property. Then you would be able to bind the ItemsSource to it.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>