3 writes to SelectedItem
Microsoft.Maui.Controls (3)
MultiPage.cs (3)
157 SelectedItem = null; 162 SelectedItem = index != -1 ? _templatedItems.ListProxy[index] : null; 353 SelectedItem = ItemsSource.Cast<object>().FirstOrDefault();
8 references to SelectedItem
Microsoft.Maui.Controls (8)
MultiPage.cs (7)
24 /// <summary>Bindable property for <see cref="SelectedItem"/>.</summary> 25 public static readonly BindableProperty SelectedItemProperty = BindableProperty.Create(nameof(SelectedItem), typeof(object), typeof(MultiPage<>), null, BindingMode.TwoWay); 350 object selected = SelectedItem; 370 int index = _templatedItems.ListProxy.IndexOf(SelectedItem); 374 CurrentPage = _templatedItems.GetOrCreateContent(index, SelectedItem); 376 else if (SelectedItem is T) 377 CurrentPage = (T)SelectedItem;
TabbedPage\TabbedPage.Mapper.cs (1)
20 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(MultiPage<TabbedPage>.SelectedItem), MapSelectedItem);