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