85 references to ItemsView
Microsoft.Maui.Controls (85)
Handlers\Items\iOS\CarouselViewController.cs (27)
50 if (ItemsView?.Loop == true && _carouselViewLoopManager != null) 113 if (ItemsView?.Loop == true && _carouselViewLoopManager != null) 135 if (ItemsView is CarouselView carousel) 144 ItemsView?.SetIsDragging(true); 149 ItemsView?.SetIsDragging(false); 160 if (InitialPositionSet && ItemsView is CarouselView carousel) 167 protected override bool IsHorizontal => ItemsView?.ItemsLayout?.Orientation == ItemsLayoutOrientation.Horizontal; 174 if (ItemsView?.ItemTemplate != null) 196 var itemsSource = ItemsSourceFactory.CreateForCarouselView(ItemsView.ItemsSource, this, ItemsView.Loop); 211 Setup(ItemsView); 218 TearDown(ItemsView); 250 if (ItemsView is CarouselView carousel) 258 if (ItemsView?.Loop == true && _carouselViewLoopManager != null) 268 if (ItemsView?.Loop == true && _carouselViewLoopManager != null) 308 if (ItemsView is not CarouselView carousel) 360 ItemsView?.SetValueFromRenderer(CarouselView.CurrentItemProperty, null); 371 int currentPosition = ItemsView?.Position ?? 0; 407 if (ItemsView is not CarouselView carousel) 426 if (ItemsView is not CarouselView carousel) 452 if (!InitialPositionSet || position == -1 || ItemsView is not CarouselView carousel) 478 ItemsView?.SetValueFromRenderer(CarouselView.CurrentItemProperty, item); 487 if (ItemsView is not CarouselView carousel) 511 if (ItemsView is not CarouselView carousel) 536 if (ItemsView is not CarouselView carousel) 591 if (ItemsView is not CarouselView carousel) 662 if (ItemsView.IsVisible)
Handlers\Items\iOS\GroupableItemsViewController.cs (13)
28 _isGrouped = ItemsView.IsGrouped; 39 if (ItemsView.IsGrouped) 41 return ItemsSourceFactory.CreateGrouped(ItemsView.ItemsSource, this); 49 _isGrouped = ItemsView.IsGrouped; 106 ? ItemsView.GroupHeaderTemplate 107 : ItemsView.GroupFooterTemplate; 111 cell.Bind(template, bindingContext, ItemsView); 122 ? ItemsView.GroupHeaderTemplate 123 : ItemsView.GroupFooterTemplate); 151 return GetReferenceSizeForheaderOrFooter(collectionView, ItemsView.GroupHeaderTemplate, UICollectionElementKindSectionKey.Header, section); 161 return GetReferenceSizeForheaderOrFooter(collectionView, ItemsView.GroupFooterTemplate, UICollectionElementKindSectionKey.Footer, section); 196 if (ItemsView?.ItemsLayout is GridItemsLayout gridItemsLayout) 207 if (!ItemsView.IsGrouped)
Handlers\Items\iOS\ItemsViewController.cs (19)
265 ItemsView.InvalidateMeasureInternal(InvalidationTrigger.MeasureChanged); 321 return ItemsSourceFactory.Create(ItemsView.ItemsSource, this); 334 (ItemsView as IView)?.InvalidateMeasure(); 348 CollectionView.UpdateFlowDirection(ItemsView); 391 cell.Bind(ItemsView.ItemTemplate, ItemsSource[indexPath], ItemsView); 456 if (ItemsView.ItemTemplate != null) 460 var dataTemplate = ItemsView.ItemTemplate.SelectDataTemplate(item, ItemsView); 484 if (ItemsView.ItemTemplate != null) 591 (uiView, formsElement) = TemplateHelpers.RealizeView(view, viewTemplate, ItemsView); 606 UpdateView(ItemsView?.EmptyView, ItemsView?.EmptyViewTemplate, ref _emptyUIView, ref _emptyViewFormsElement); 677 if (((IElementController)ItemsView).LogicalChildren.IndexOf(_emptyViewFormsElement) == -1) 679 ItemsView.AddLogicalChild(_emptyViewFormsElement); 705 ItemsView.RemoveLogicalChild(_emptyViewFormsElement); 722 if (_emptyViewFormsElement != null && ((IElementController)ItemsView).LogicalChildren.IndexOf(_emptyViewFormsElement) != -1) 740 if (ItemsView.ItemTemplate == null) 791 if (ItemsView.IsVisible)
Handlers\Items\iOS\ItemsViewDelegator.cs (1)
54 var itemsView = viewController.ItemsView;
Handlers\Items\iOS\ReorderableItemsViewController.cs (3)
28 return ItemsView?.CanReorderItems == true; 103 var itemsView = ItemsView; 155 if (ItemsView.CanReorderItems)
Handlers\Items\iOS\ReorderableItemsViewDelegator.cs (1)
22 var itemsView = ViewController?.ItemsView;
Handlers\Items\iOS\SelectableItemsViewController.cs (10)
64 var mode = ItemsView.SelectionMode; 71 ItemsView.SelectedItem = GetItemAtIndex(indexPath); 74 ItemsView.SelectedItems.Add(GetItemAtIndex(indexPath)); 81 var mode = ItemsView.SelectionMode; 90 ItemsView.SelectedItems.Remove(GetItemAtIndex(indexPath)); 97 if (ItemsView == null) 102 var mode = ItemsView.SelectionMode; 109 var selectedItem = ItemsView.SelectedItem; 130 var mode = ItemsView.SelectionMode; 156 var selectedItems = ItemsView.SelectedItems.ToHashSet();
Handlers\Items\iOS\StructuredItemsViewController.cs (11)
67 protected override bool IsHorizontal => (ItemsView?.ItemsLayout as ItemsLayout)?.Orientation == ItemsLayoutOrientation.Horizontal; 114 UpdateSubview(ItemsView?.Footer, ItemsView?.FooterTemplate, FooterTag, 121 UpdateSubview(ItemsView?.Header, ItemsView?.HeaderTemplate, HeaderTag, 133 ItemsView.RemoveLogicalChild(formsElement); 147 ItemsView.AddLogicalChild(formsElement); 169 nfloat headerWidth = ((ItemsView?.Header is View) ? _headerViewFormsElement?.ToPlatform() : _headerUIView)?.Frame.Width ?? 0f; 170 nfloat footerWidth = ((ItemsView?.Footer is View) ? _footerViewFormsElement?.ToPlatform() : _footerUIView)?.Frame.Width ?? 0f; 199 nfloat headerHeight = ((ItemsView?.Header is View) ? _headerViewFormsElement?.ToPlatform() : _headerUIView)?.Frame.Height ?? 0f; 200 nfloat footerHeight = ((ItemsView?.Footer is View) ? _footerViewFormsElement?.ToPlatform() : _footerUIView)?.Frame.Height ?? 0f;