13 references to FindName
PresentationFramework (7)
MS\Internal\AppModel\NavigationHelper.cs (1)
31
cp = (ContentPresenter)navigator.Template.
FindName
(contentPresenterName, navigator);
MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (1)
72
DocumentApplicationDocumentViewer docViewer = navigator.Template.
FindName
(
MS\Internal\Helper.cs (1)
411
return fe.TemplateInternal.
FindName
(name, fe);
System\Windows\Controls\DocumentViewer.cs (2)
2114
ScrollViewer contentHost = this.Template.
FindName
(_contentHostName, this) as ScrollViewer;
2149
ContentControl findHost = this.Template.
FindName
(_findToolBarHostName, this) as ContentControl;
System\Windows\Controls\TreeViewItem.cs (1)
1026
ItemsPresenter itemsPresenter = (ItemsPresenter)item.Template.
FindName
(ItemsHostPartName, item);
System\Windows\Media\Animation\Storyboard.cs (1)
255
namedObject = ((FrameworkTemplate)nameScope).
FindName
(targetName, fe);
PresentationUI (2)
MS\Internal\Documents\Application\StatusInfoItem.cs (2)
54
_infoBarIcon = infoBarButton.Template.
FindName
("PUIInfoBarIcon", infoBarButton) as Rectangle;
55
_infoBarText = infoBarButton.Template.
FindName
("PUIInfoBarText", infoBarButton) as TextBlock;
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (1)
51
RibbonToggleButton filterToggleButton = this.Template.
FindName
(RibbonMenuButton.ToggleButtonTemplatePartName, this) as RibbonToggleButton;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
110
_filterMenuButton = this.Template.
FindName
(_filterMenuButtonTemplatePartName, this) as RibbonFilterMenuButton;
340
ItemsHostSite = (Panel)(ItemsPanel.
FindName
(RibbonGallery.ItemsHostPanelName, _itemsPresenter));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
205
ItemsHostSite = (Panel)(ItemsPanel.
FindName
(RibbonGalleryCategory.ItemsHostPanelName, _itemsPresenter));