1 write to SelectedIndex
Microsoft.Maui.Controls (1)
Compatibility\Handlers\Shell\iOS\ShellSectionRootHeader.cs (1)
270
SelectedIndex
= ShellSectionController.GetItems().IndexOf(ShellSection.CurrentItem);
5 references to SelectedIndex
Microsoft.Maui.Controls (5)
Compatibility\Handlers\Shell\iOS\ShellSectionRootHeader.cs (5)
234
if (
SelectedIndex
< 0)
237
if (ShellSectionController.GetItems().IndexOf(ShellSection.CurrentItem) !=
SelectedIndex
)
240
var layout = CollectionView.GetLayoutAttributesForItem(NSIndexPath.FromItemSection((int)
SelectedIndex
, 0));
272
if (
SelectedIndex
< 0)
277
CollectionView.SelectItem(NSIndexPath.FromItemSection((int)
SelectedIndex
, 0), false, UICollectionViewScrollPosition.CenteredHorizontally);