override protected void OnPannelSelected(bool bIsSelected) { //Update the selection service data if (bIsSelected == true) { //Re-load the selected widget when page is re-selected List <IWidgetPropertyData> ToAddList = new List <IWidgetPropertyData>(); foreach (WidgetViewModBase wdgItem in Items) { if (wdgItem.IsSelected == true) { ToAddList.Add(wdgItem); } } //register the selected page _selectionService.RegisterPage(this, ToAddList); } else { _selectionService.RemovePage(this); } //Keep the selection UI }