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