Пример #1
0
 private bool KembaliValidate(object obj)
 {
     if (DestinationSource.Where(O => O.Selected).Count() > 0)
     {
         return(true);
     }
     return(false);
 }
Пример #2
0
        private void KembaliAction(object obj)
        {
            foreach (var item in DestinationSource.Where(O => O.Selected).ToList())
            {
                var newItem = item.GetClone();
                newItem.Selected = false;
                OriginSource.Add(newItem);
                DestinationSource.Remove(item);
            }

            RefreshAll();
        }