public CategorySelection() { this.DataContext = this.viewModel; this.worker.DoWork += new DoWorkEventHandler(DisplayPivot); InitializeComponent(); }