void RecreateListSource()
 {
     if ((SelectedCountItem != null) && !isDesignTime)
     {
         orderDataGenerator.Count = SelectedCountItem.Count;
     }
     else
     {
         orderDataGenerator.Count = 0;
     }
     ListSource = new OrderDataListSource(orderDataGenerator);
 }
 void RecreateItemsSource()
 {
     if (SelectedCountItem == null || isDesignTime)
     {
         orderDataGenerator.Count = 0;
     }
     else
     {
         orderDataGenerator.Count = SelectedCountItem.Count;
     }
     ListSource      = new OrderDataListSource(orderDataGenerator);
     QueryableSource = ((IListSource)ListSource).GetList().AsQueryable();
 }