19 references to FindParentOfType
Microsoft.Maui.Controls (19)
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (1)
232
var parentNav = e.NewElement.
FindParentOfType
<NavigationPage>();
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (1)
138
(Page.
FindParentOfType
<ShellItem>() as IShellItemController)?.ShowTabs ?? Shell.GetTabBarIsVisible(Page);
NavigationPage\NavigationPage.cs (1)
572
var flyoutPage = this.
FindParentOfType
<FlyoutPage>();
NavigationPage\NavigationPageToolbar.cs (3)
75
_currentNavigationPage = _currentPage.
FindParentOfType
<NavigationPage>();
94
var parentNavigationPage = _currentNavigationPage.
FindParentOfType
<NavigationPage>();
100
parentNavigationPage = parentNavigationPage.
FindParentOfType
<NavigationPage>();
Page\Page.cs (2)
666
var window = this.
FindParentOfType
<IWindow>();
940
=> this.
FindParentOfType
<Window>();
Shell\BaseShellItem.cs (1)
219
if (shellItem.
FindParentOfType
<Shell>()?.Toolbar is ShellToolbar st)
Shell\Shell.cs (3)
74
?? (bindable as BaseShellItem)?.
FindParentOfType
<Shell>()
75
?? (bindable as Page)?.
FindParentOfType
<Shell>();
122
.
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)
976
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>();