24 references to ListViewCachingStrategy
Microsoft.Maui.Controls (24)
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (4)
131 ((parentListView.CachingStrategy & ListViewCachingStrategy.RecycleElement) != 0); 442 ((parentListView.CachingStrategy & ListViewCachingStrategy.RecycleElement) != 0); 453 ((parentListView.CachingStrategy & ListViewCachingStrategy.RecycleElement) != 0); 465 ((parentListView.CachingStrategy & ListViewCachingStrategy.RecycleElement) != 0);
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (8)
557 if (!groupReset && Element.CachingStrategy == ListViewCachingStrategy.RetainElement) 882 var cachingStrategy = list.CachingStrategy; 883 if (cachingStrategy == ListViewCachingStrategy.RecycleElement) 886 else if (cachingStrategy == ListViewCachingStrategy.RecycleElementAndDataTemplate) 1071 var cachingStrategy = list.CachingStrategy; 1072 if (cachingStrategy == ListViewCachingStrategy.RetainElement) 1077 else if ((cachingStrategy & ListViewCachingStrategy.RecycleElement) != 0) 1240 if ((list.CachingStrategy & ListViewCachingStrategy.RecycleElement) != 0)
DataTemplateSelector.cs (2)
18 (listView.CachingStrategy & ListViewCachingStrategy.RecycleElementAndDataTemplate) == 19 ListViewCachingStrategy.RecycleElementAndDataTemplate;
ListView\IListViewController.cs (1)
10 ListViewCachingStrategy CachingStrategy { get; }
ListView\ListView.cs (3)
117 public ListView([Parameter("CachingStrategy")] ListViewCachingStrategy cachingStrategy) : this() 302 public ListViewCachingStrategy CachingStrategy { get; private set; } 758 var isRetainStrategy = CachingStrategy == ListViewCachingStrategy.RetainElement;
TemplatedItemsList.cs (6)
188 internal ListViewCachingStrategy CachingStrategy 194 return ListViewCachingStrategy.RetainElement; 555 if ((CachingStrategy & ListViewCachingStrategy.RecycleElement) != 0) 924 if ((CachingStrategy & ListViewCachingStrategy.RecycleElement) != 0) 987 if ((CachingStrategy & ListViewCachingStrategy.RecycleElement) != 0) 1221 if (DeviceInfo.Platform == DevicePlatform.iOS && CachingStrategy == ListViewCachingStrategy.RetainElement)