13 references to FindName
PresentationFramework (7)
MS\Internal\AppModel\NavigationHelper.cs (1)
24
cp = (ContentPresenter)navigator.Template.
FindName
(contentPresenterName, navigator);
MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (1)
67
DocumentApplicationDocumentViewer docViewer = navigator.Template.
FindName
(
MS\Internal\Helper.cs (1)
402
return fe.TemplateInternal.
FindName
(name, fe);
System\Windows\Controls\DocumentViewer.cs (2)
2110
ScrollViewer contentHost = this.Template.
FindName
(_contentHostName, this) as ScrollViewer;
2145
ContentControl findHost = this.Template.
FindName
(_findToolBarHostName, this) as ContentControl;
System\Windows\Controls\TreeViewItem.cs (1)
1022
ItemsPresenter itemsPresenter = (ItemsPresenter)item.Template.
FindName
(ItemsHostPartName, item);
System\Windows\Media\Animation\Storyboard.cs (1)
254
namedObject = ((FrameworkTemplate)nameScope).
FindName
(targetName, fe);
PresentationUI (2)
MS\Internal\Documents\Application\StatusInfoItem.cs (2)
51
_infoBarIcon = infoBarButton.Template.
FindName
("PUIInfoBarIcon", infoBarButton) as Rectangle;
52
_infoBarText = infoBarButton.Template.
FindName
("PUIInfoBarText", infoBarButton) as TextBlock;
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (1)
49
RibbonToggleButton filterToggleButton = this.Template.
FindName
(RibbonMenuButton.ToggleButtonTemplatePartName, this) as RibbonToggleButton;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
108
_filterMenuButton = this.Template.
FindName
(_filterMenuButtonTemplatePartName, this) as RibbonFilterMenuButton;
338
ItemsHostSite = (Panel)(ItemsPanel.
FindName
(RibbonGallery.ItemsHostPanelName, _itemsPresenter));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
200
ItemsHostSite = (Panel)(ItemsPanel.
FindName
(RibbonGalleryCategory.ItemsHostPanelName, _itemsPresenter));