Guest User

Untitled

a guest
Jan 16th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. salesItem = (from SalesItem items in this.ProductList.ItemsSource
  2. select items).ToList<Sales>();
  3.  
  4. this.ProductList.ItemsSource = Enumerable.Empty<Sales>();
  5.  
  6. if (this.ProductList != null && this.ProductList.ItemsSource != null)
  7. {
  8. salesItem = (from SalesItem items in this.ProductList.ItemsSource
  9. select items).ToList<Sales>();
  10. }
Add Comment
Please, Sign In to add comment