17 references to FindParentOfType
Microsoft.Maui.Controls (17)
NavigationPage\NavigationPage.cs (1)
569 var flyoutPage = this.FindParentOfType<FlyoutPage>();
NavigationPage\NavigationPageToolbar.cs (3)
87 _currentNavigationPage = _currentPage.FindParentOfType<NavigationPage>(); 106 var parentNavigationPage = _currentNavigationPage.FindParentOfType<NavigationPage>(); 112 parentNavigationPage = parentNavigationPage.FindParentOfType<NavigationPage>();
Page\Page.cs (2)
671 var window = this.FindParentOfType<IWindow>(); 959 => this.FindParentOfType<Window>();
Shell\BaseShellItem.cs (1)
220 if (shellItem.FindParentOfType<Shell>()?.Toolbar is ShellToolbar st)
Shell\Shell.cs (3)
76 ?? (bindable as BaseShellItem)?.FindParentOfType<Shell>() 77 ?? (bindable as Page)?.FindParentOfType<Shell>(); 124 .FindParentOfType<Shell>()
Shell\ShellContent.cs (2)
155 this.FindParentOfType<Shell>().SendPageAppearing(page); 161 this.FindParentOfType<Shell>().SendPageAppearing(page);
Shell\ShellGroupItem.cs (1)
15 ((Element)bindable).FindParentOfType<Shell>()?.SendFlyoutItemsChanged();
Shell\ShellSection.cs (1)
989 this.FindParentOfType<Shell>().SendPageAppearing(presentedPage);
SwipeView\SwipeView.cs (3)
313 _scrollParent = this.FindParentOfType<ScrollView>(); 321 _scrollParent = this.FindParentOfType<ListView>(); 329 _scrollParent = this.FindParentOfType<Microsoft.Maui.Controls.CollectionView>();