4 writes to Template
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
89
Template
= new ControlTemplate { VisualTree = templateBorder };
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
202
Template
= s_buttonTemplate.Value,
PresentationFramework (2)
MS\Internal\Controls\TemplatedAdorner.cs (1)
56
control.
Template
= adornerTemplate;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1166
indicator.
Template
= template;
15 references to Template
PresentationFramework (11)
MS\Internal\AppModel\NavigationHelper.cs (2)
29
if (navigator.
Template
!= null)
31
cp = (ContentPresenter)navigator.
Template
.FindName(contentPresenterName, navigator);
MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (1)
72
DocumentApplicationDocumentViewer docViewer = navigator.
Template
.FindName(
System\Windows\Controls\Control.cs (1)
428
get { return
Template
; }
System\Windows\Controls\DocumentViewer.cs (2)
2114
ScrollViewer contentHost = this.
Template
.FindName(_contentHostName, this) as ScrollViewer;
2149
ContentControl findHost = this.
Template
.FindName(_findToolBarHostName, this) as ContentControl;
System\Windows\Controls\Primitives\CalendarItem.cs (3)
180
if (
Template
!= null &&
Template
.Resources.Contains(DayTitleTemplateResourceKey))
182
_dayTitleTemplate =
Template
.Resources[DayTitleTemplateResourceKey] as DataTemplate;
System\Windows\Controls\TreeViewItem.cs (1)
1026
ItemsPresenter itemsPresenter = (ItemsPresenter)item.
Template
.FindName(ItemsHostPartName, item);
System\Windows\Shell\WindowChromeWorker.cs (1)
290
if (_window.
Template
== null)
PresentationUI (2)
MS\Internal\Documents\Application\StatusInfoItem.cs (2)
54
_infoBarIcon = infoBarButton.
Template
.FindName("PUIInfoBarIcon", infoBarButton) as Rectangle;
55
_infoBarText = infoBarButton.
Template
.FindName("PUIInfoBarText", infoBarButton) as TextBlock;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (1)
51
RibbonToggleButton filterToggleButton = this.
Template
.FindName(RibbonMenuButton.ToggleButtonTemplatePartName, this) as RibbonToggleButton;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
110
_filterMenuButton = this.
Template
.FindName(_filterMenuButtonTemplatePartName, this) as RibbonFilterMenuButton;