Implemented interface member:
method
GetGlobalIndexOfItem
Microsoft.Maui.Controls.ITemplatedItemsList<TItem>.GetGlobalIndexOfItem(System.Object)
10 references to GetGlobalIndexOfItem
Microsoft.Maui.Controls (10)
ListView\ListView.cs (5)
336 => ItemAppearing?.Invoke(this, new ItemVisibilityEventArgs(cell.BindingContext, TemplatedItems.GetGlobalIndexOfItem(cell?.BindingContext))); 341 => ItemDisappearing?.Invoke(this, new ItemVisibilityEventArgs(cell.BindingContext, TemplatedItems.GetGlobalIndexOfItem(cell?.BindingContext))); 528 ItemTapped?.Invoke(this, new ItemTappedEventArgs(ItemsSource.Cast<object>().ElementAt(groupIndex), cell?.BindingContext, TemplatedItems.GetGlobalIndexOfItem(cell?.BindingContext))); 568 TemplatedItems.GetGlobalIndexOfItem(cell?.BindingContext))); 740 => ((ListView)bindable).ItemSelected?.Invoke(bindable, new SelectedItemChangedEventArgs(newValue, ((ListView)bindable).TemplatedItems.GetGlobalIndexOfItem(newValue)));
TemplatedItemsList.cs (5)
405 int index = children.GetGlobalIndexOfItem(item); 430 int index = kvp.Value.GetGlobalIndexOfItem(item); 447 return new Tuple<int, int>(0, GetGlobalIndexOfItem(item)); 454 int index = children.GetGlobalIndexOfItem(item); 468 return new Tuple<int, int>(0, GetGlobalIndexOfItem(item));