예제 #1
0
파일: TableView.cs 프로젝트: zmtzawqlp/maui
            void RemoveEvents(TableRoot tableRoot)
            {
                if (tableRoot == null)
                {
                    return;
                }

                tableRoot.CollectionChanged        -= _parent.CollectionChanged;
                tableRoot.SectionCollectionChanged -= _parent.OnSectionCollectionChanged;
            }
예제 #2
0
파일: TableView.cs 프로젝트: zmtzawqlp/maui
 public TableView(TableRoot root)
 {
     VerticalOptions = HorizontalOptions = LayoutOptions.FillAndExpand;
     Model           = _tableModel = new TableSectionModel(this, root);
     _platformConfigurationRegistry = new Lazy <PlatformConfigurationRegistry <TableView> >(() => new PlatformConfigurationRegistry <TableView>(this));
 }
예제 #3
0
파일: TableView.cs 프로젝트: zmtzawqlp/maui
 void ApplyEvents(TableRoot tableRoot)
 {
     tableRoot.CollectionChanged        += _parent.CollectionChanged;
     tableRoot.SectionCollectionChanged += _parent.OnSectionCollectionChanged;
 }
예제 #4
0
파일: TableView.cs 프로젝트: zmtzawqlp/maui
 public TableSectionModel(TableView tableParent, TableRoot tableRoot)
 {
     _parent = tableParent;
     Root    = tableRoot ?? new TableRoot();
 }