Exemple #1
0
        internal LayoutHelper(SuperPanelHelper <TControl, TSize, TRect> superHelper, ReadOnlyObservableCollection <T> list)
            : base(superHelper)
        {
            _list     = list;
            _controls = CreateControls(list);

            ((INotifyCollectionChanged)list).CollectionChanged += OnCollectionChanged;
        }
Exemple #2
0
 internal TailTileLayoutHelper(SuperPanelHelper <TControl, TSize, TRect> panel,
                               ReadOnlyObservableCollection <ITile> list)
     : base(panel, list)
 {
 }
 internal HeadTileLayoutHelper(SuperPanelHelper <TControl, TSize, TRect> superHelper,
                               ReadOnlyObservableCollection <ITile> list)
     : base(superHelper, list)
 {
     _superHelper = superHelper;
 }
 internal SuggestionsLayoutHelper(SuperPanelHelper <TControl, TSize, TRect> panel,
                                  ReadOnlyObservableCollection <IReadOnlyList <ITile> > list)
     : base(panel, list)
 {
 }