1 write to TemplatedItems
Microsoft.Maui.Controls (1)
17 references to TemplatedItems
Microsoft.Maui.Controls (17)
ListView\ListView.cs (15)
111 TemplatedItems.IsGroupingEnabledProperty = IsGroupingEnabledProperty;
112 TemplatedItems.GroupHeaderTemplateProperty = GroupHeaderTemplateProperty;
168 TemplatedItems.GroupDisplayBinding = value;
192 TemplatedItems.GroupShortNameBinding = value;
336 => ItemAppearing?.Invoke(this, new ItemVisibilityEventArgs(cell.BindingContext, TemplatedItems.GetGlobalIndexOfItem(cell?.BindingContext)));
341 => ItemDisappearing?.Invoke(this, new ItemVisibilityEventArgs(cell.BindingContext, TemplatedItems.GetGlobalIndexOfItem(cell?.BindingContext)));
485 int groupIndex = TemplatedItems.GetGlobalIndexOfGroup(cell);
490 var group = TemplatedItems.GetGroup(groupIndex);
509 var group = TemplatedItems.GetGroup(groupIndex);
528 ItemTapped?.Invoke(this, new ItemTappedEventArgs(ItemsSource.Cast<object>().ElementAt(groupIndex), cell?.BindingContext, TemplatedItems.GetGlobalIndexOfItem(cell?.BindingContext)));
535 var group = TemplatedItems.GetGroup(groupIndex);
568 TemplatedItems.GetGlobalIndexOfItem(cell?.BindingContext)));
578 int groupIndex = TemplatedItems.GetGroupIndexFromGlobal(index, out leftOver);
593 int groupIndex = TemplatedItems.GetGroupIndexFromGlobal(index, out leftOver);
740 => ((ListView)bindable).ItemSelected?.Invoke(bindable, new SelectedItemChangedEventArgs(newValue, ((ListView)bindable).TemplatedItems.GetGlobalIndexOfItem(newValue)));