25 references to FindName
PresentationFramework (7)
src\Framework\MS\Internal\AppModel\NavigationHelper.cs (1)
27cp = (ContentPresenter)navigator.Template.FindName(contentPresenterName, navigator);
src\Framework\MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (1)
83DocumentApplicationDocumentViewer docViewer = navigator.Template.FindName(
src\Framework\MS\Internal\Helper.cs (1)
420return fe.TemplateInternal.FindName(name, fe);
src\Framework\System\Windows\Controls\DocumentViewer.cs (2)
2159ScrollViewer contentHost = this.Template.FindName(_contentHostName, this) as ScrollViewer; 2199ContentControl findHost = this.Template.FindName(_findToolBarHostName, this) as ContentControl;
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
1026ItemsPresenter itemsPresenter = (ItemsPresenter)item.Template.FindName(ItemsHostPartName, item);
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
254namedObject = ((FrameworkTemplate)nameScope).FindName(targetName, fe);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (1)
281var comboBoxTextBox = comboBox.Template.FindName("PART_EditableTextBox", comboBox) as TextBox;
System.Activities.Presentation (17)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (5)
164this.defaultDisplayNameReadOnlyControl = this.Template.FindName("DisplayNameReadOnlyControl_6E8E4954_F6B2_4c6c_9E28_33A7A78F1E81", this) as UserControl; 165this.defaultDisplayNameBox = this.Template.FindName("DisplayNameBox_570C5205_7195_4d4e_953A_8E4B57EF7E7F", this) as TextBox; 167UIElement defaultAnnotationIndicator = this.Template.FindName("AnnotationIndicator_570C5205_7195_4d4e_953A_8E4B57EF7E7F", this) as UIElement; 168DockedAnnotationDecorator defaultDockedAnnotationDecorator = this.Template.FindName("DockedAnnotationDecorator_570C5205_7195_4d4e_953A_8E4B57EF7E7F", this) as DockedAnnotationDecorator; 183Border titleBar = this.Template.FindName("TitleBar_C36A1CF2_4B36_4F0D_B427_9825C2E110DE", this) as Border;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (4)
450ComboBox comboBox = this.Template.FindName("PART_Combo", this) as ComboBox; 453Popup popup = comboBox.Template.FindName("PART_Popup", comboBox) as Popup; 790ComboBox comboBox = this.Template.FindName("_comboChoiceEditor", this) as ComboBox; 823ComboBox comboBox = this.Template.FindName("_comboChoiceEditor", this) as ComboBox;
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (2)
231this.searchBox = this.Template.FindName("PART_SearchBox", this) as TextBox; 232this.toolsTreeView = this.Template.FindName("PART_Tools", this) as TreeView;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
815TextBlock toggleButtonTextBlock = toggleButton.Template.FindName("collapseAllText", toggleButton) as TextBlock;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (3)
276element = this.presenter.ContentTemplate.FindName(elementName, this.presenter); 285this.presenter = this.Template.FindName("PART_Content", this) as ContentPresenter; 297this.border = this.Template.FindName("PART_ShapeBorder", this) as Border;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowHeader.cs (1)
79this.closeButton = this.Template.FindName("PART_CloseButton", this) as Button;
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
364TextBlock tb = (TextBlock)this.ContentTemplate.FindName("expresionTextBlock", presenter);