2 references to FindParentWith
Microsoft.Maui.Controls (2)
NavigationPage\NavigationPage.cs (2)
528
var rootPage = this.
FindParentWith
(x => (x is IWindow te || Window.Navigation.ModalStack.Contains(x)), true);
529
if (this.
FindParentWith
(x => (x is IToolbarElement te && te.Toolbar != null), false) is IToolbarElement te)