Пример #1
0
 public ObservableRowAapter(IList <T> sourceList)
 {
     //default
     InitializeResizeableItems();
     rowAdapter      = new RowAdapter <T>(sourceList, RowItemsCount);
     this.sourceList = sourceList;
     if (this.sourceList != null && this.sourceList is INotifyCollectionChanged)
     {
         (this.sourceList as INotifyCollectionChanged).CollectionChanged += ObservableRowAapter_CollectionChanged;
     }
     this.CollectionChanged += ObservableRowAapter_CollectionChanged1;
 }
Пример #2
0
 public RowObject(RowAdapter <T> parent, int startIndex)
 {
     Parent     = parent;
     StartIndex = startIndex;
 }