1 write to _templatedItems
Microsoft.Maui.Controls (1)
MultiPage.cs (1)
36
_templatedItems
= new TemplatedItemsList<MultiPage<T>, T>(this, ItemsSourceProperty, ItemTemplateProperty);
9 references to _templatedItems
Microsoft.Maui.Controls (9)
MultiPage.cs (9)
37
_templatedItems
.CollectionChanged += OnTemplatedItemsChanged;
161
int index =
_templatedItems
.IndexOf(CurrentPage);
162
SelectedItem = index != -1 ?
_templatedItems
.ListProxy[index] : null;
310
T page =
_templatedItems
.GetOrCreateContent(i, e.NewItems[i - e.OldStartingIndex]);
336
for (var i = 0; i <
_templatedItems
.Count; i++)
338
T page =
_templatedItems
.GetOrCreateContent(i,
_templatedItems
.ListProxy[i]);
370
int index =
_templatedItems
.ListProxy.IndexOf(SelectedItem);
374
CurrentPage =
_templatedItems
.GetOrCreateContent(index, SelectedItem);