static void ControlsListItemSelected(ControlListItem obj) { _popup.IsOpen = false; var spy = new SilverlightSpy(); spy.TargetElement = obj.Tag; spy.Show(); }
private void Button_Click(object sender, RoutedEventArgs e) { SilverlightSpy spy = new SilverlightSpy(); spy.Show(); }