3 writes to Template
PresentationFramework (2)
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (1)
62control.Template = adornerTemplate;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1169indicator.Template = template;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
771container.Template = newTemplate;
32 references to Template
PresentationFramework (11)
src\Framework\MS\Internal\AppModel\NavigationHelper.cs (2)
25if (navigator.Template != null) 27cp = (ContentPresenter)navigator.Template.FindName(contentPresenterName, navigator);
src\Framework\MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (1)
83DocumentApplicationDocumentViewer docViewer = navigator.Template.FindName(
src\Framework\System\Windows\Controls\Control.cs (1)
429get { return Template; }
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\Primitives\CalendarItem.cs (3)
181if (Template != null && Template.Resources.Contains(DayTitleTemplateResourceKey)) 183_dayTitleTemplate = Template.Resources[DayTitleTemplateResourceKey] as DataTemplate;
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
1026ItemsPresenter itemsPresenter = (ItemsPresenter)item.Template.FindName(ItemsHostPartName, item);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
383if (_window.Template == null)
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (2)
279if (comboBox.IsEditable && comboBox.Template != null) 281var comboBoxTextBox = comboBox.Template.FindName("PART_EditableTextBox", comboBox) as TextBox;
System.Activities.Presentation (19)
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\Base\Core\PropertyEditing\PropertyContainer.cs (2)
766newTemplate = container.Template; 770if (newTemplate != container.Template)
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\DataGridHelper.cs (1)
449this.DefaultRowControlTemplate = e.Row.Template;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
813if (toggleButton != null && toggleButton.Template != null) 815TextBlock toggleButtonTextBlock = toggleButton.Template.FindName("collapseAllText", toggleButton) as TextBlock;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (2)
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;