protected CheckedItemCollection(CheckedItemCollection <T> original, Cloner cloner)
     : base(original, cloner)
 {
     list         = new List <T>(original.Select(x => cloner.Clone(x)));
     checkedState = new Dictionary <T, bool>();
     foreach (var pair in original.checkedState)
     {
         checkedState.Add(cloner.Clone(pair.Key), pair.Value);
     }
 }
 public bool ItemChecked(T item)
 {
     return(CheckedItemCollection.ItemChecked(item));
 }
 public void SetItemCheckedState(T item, bool checkedState)
 {
     CheckedItemCollection.SetItemCheckedState(item, checkedState);
 }
Exemple #4
0
 public void SetItemCheckedState(IEnumerable <T> items, bool checkedState)
 {
     CheckedItemCollection.SetItemCheckedState(items, checkedState);
 }