117 references to TemplatePart
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (1)
17[TemplatePart(Name = InnerTextBox, Type = typeof(TextBox))]
PresentationFramework (62)
System\Windows\Controls\Calendar.cs (2)
16[TemplatePart(Name = Calendar.ElementRoot, Type = typeof(Panel))] 17[TemplatePart(Name = Calendar.ElementMonth, Type = typeof(CalendarItem))]
System\Windows\Controls\ComboBox.cs (2)
27[TemplatePart(Name = "PART_EditableTextBox", Type = typeof(TextBox))] 28[TemplatePart(Name = "PART_Popup", Type = typeof(Popup))]
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
14[TemplatePart(Name = "PART_VisualBrushCanvas", Type = typeof(Canvas))]
System\Windows\Controls\DatePicker.cs (4)
22[TemplatePart(Name = DatePicker.ElementRoot, Type = typeof(Grid))] 23[TemplatePart(Name = DatePicker.ElementTextBox, Type = typeof(DatePickerTextBox))] 24[TemplatePart(Name = DatePicker.ElementButton, Type = typeof(Button))] 25[TemplatePart(Name = DatePicker.ElementPopup, Type = typeof(Popup))]
System\Windows\Controls\DocumentViewer.cs (2)
32[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(ContentControl))] 33[TemplatePart(Name = "PART_ContentHost", Type = typeof(ScrollViewer))]
System\Windows\Controls\FlowDocumentReader.cs (2)
28[TemplatePart(Name = "PART_ContentHost", Type = typeof(Decorator))] 29[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))]
System\Windows\Controls\FlowDocumentScrollViewer.cs (3)
34[TemplatePart(Name = "PART_ContentHost", Type = typeof(ScrollViewer))] 35[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 36[TemplatePart(Name = "PART_ToolBarHost", Type = typeof(Decorator))]
System\Windows\Controls\Frame.cs (1)
90[TemplatePart(Name = "PART_FrameCP", Type = typeof(ContentPresenter))]
System\Windows\Controls\GridViewColumnHeader.cs (2)
43[TemplatePart(Name = "PART_HeaderGripper", Type = typeof(Thumb))] 44[TemplatePart(Name = "PART_FloatingHeaderCanvas", Type = typeof(Canvas))]
System\Windows\Controls\MenuItem.cs (1)
60[TemplatePart(Name = "PART_Popup", Type = typeof(Popup))]
System\Windows\Controls\PasswordBox.cs (1)
31[TemplatePart(Name = "PART_ContentHost", Type = typeof(FrameworkElement))]
System\Windows\Controls\Primitives\CalendarItem.cs (8)
12[TemplatePart(Name = CalendarItem.ElementRoot, Type = typeof(FrameworkElement))] 13[TemplatePart(Name = CalendarItem.ElementHeaderButton, Type = typeof(Button))] 14[TemplatePart(Name = CalendarItem.ElementPreviousButton, Type = typeof(Button))] 15[TemplatePart(Name = CalendarItem.ElementNextButton, Type = typeof(Button))] 16[TemplatePart(Name = CalendarItem.ElementDayTitleTemplate, Type = typeof(DataTemplate))] 17[TemplatePart(Name = CalendarItem.ElementMonthView, Type = typeof(Grid))] 18[TemplatePart(Name = CalendarItem.ElementYearView, Type = typeof(Grid))] 19[TemplatePart(Name = CalendarItem.ElementDisabledVisual, Type = typeof(FrameworkElement))]
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
19[TemplatePart(Name = "PART_LeftHeaderGripper", Type = typeof(Thumb))] 20[TemplatePart(Name = "PART_RightHeaderGripper", Type = typeof(Thumb))]
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
22[TemplatePart(Name = "PART_FillerColumnHeader", Type = typeof(DataGridColumnHeader))]
System\Windows\Controls\Primitives\DataGridRowHeader.cs (2)
16[TemplatePart(Name = "PART_TopHeaderGripper", Type = typeof(Thumb))] 17[TemplatePart(Name = "PART_BottomHeaderGripper", Type = typeof(Thumb))]
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
15[TemplatePart(Name = DatePickerTextBox.ElementContentName, Type = typeof(ContentControl))]
System\Windows\Controls\Primitives\ScrollBar.cs (1)
27[TemplatePart(Name = "PART_Track", Type = typeof(Track))]
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
34[TemplatePart(Name = "PART_ContentHost", Type = typeof(FrameworkElement))]
System\Windows\Controls\ProgressBar.cs (3)
27[TemplatePart(Name = "PART_Track", Type = typeof(FrameworkElement))] 28[TemplatePart(Name = "PART_Indicator", Type = typeof(FrameworkElement))] 29[TemplatePart(Name = "PART_GlowRect", Type = typeof(FrameworkElement))]
System\Windows\Controls\ScrollViewer.cs (3)
60[TemplatePart(Name = "PART_HorizontalScrollBar", Type = typeof(ScrollBar))] 61[TemplatePart(Name = "PART_VerticalScrollBar", Type = typeof(ScrollBar))] 62[TemplatePart(Name = "PART_ScrollContentPresenter", Type = typeof(ScrollContentPresenter))]
System\Windows\Controls\SinglePageViewer.cs (1)
33[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))]
System\Windows\Controls\Slider.cs (2)
31[TemplatePart(Name = "PART_Track", Type = typeof(Track))] 32[TemplatePart(Name = "PART_SelectionRange", Type = typeof(FrameworkElement))]
System\Windows\Controls\StickyNote.cs (10)
54[TemplatePart(Name = SNBConstants.c_CloseButtonId, Type = typeof(Button))] 55[TemplatePart(Name = SNBConstants.c_TitleThumbId, Type = typeof(Thumb))] 56[TemplatePart(Name = SNBConstants.c_BottomRightResizeThumbId, Type = typeof(Thumb))] 57[TemplatePart(Name = SNBConstants.c_ContentControlId, Type = typeof(ContentControl))] 58[TemplatePart(Name = SNBConstants.c_IconButtonId, Type = typeof(Button))] 59[TemplatePart(Name = SNBConstants.c_CopyMenuId, Type = typeof(MenuItem))] 60[TemplatePart(Name = SNBConstants.c_PasteMenuId, Type = typeof(MenuItem))] 61[TemplatePart(Name = SNBConstants.c_InkMenuId, Type = typeof(MenuItem))] 62[TemplatePart(Name = SNBConstants.c_SelectMenuId, Type = typeof(MenuItem))] 63[TemplatePart(Name = SNBConstants.c_EraseMenuId, Type = typeof(MenuItem))]
System\Windows\Controls\TabControl.cs (1)
28[TemplatePart(Name = "PART_SelectedContentHost", Type = typeof(ContentPresenter))]
System\Windows\Controls\ToolBar.cs (2)
51[TemplatePart(Name = "PART_ToolBarPanel", Type = typeof(ToolBarPanel))] 52[TemplatePart(Name = "PART_ToolBarOverflowPanel", Type = typeof(ToolBarOverflowPanel))]
System\Windows\Controls\TreeViewItem.cs (2)
22[TemplatePart(Name = HeaderPartName, Type = typeof(FrameworkElement))] 23[TemplatePart(Name = ItemsHostPartName, Type = typeof(ItemsPresenter))]
System\Windows\Navigation\NavigationWindow.cs (1)
38[TemplatePart(Name = "PART_NavWinCP", Type = typeof(ContentPresenter))]
System.Windows.Controls.Ribbon (54)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (6)
45[TemplatePart(Name = Ribbon.ContextualTabGroupItemsControlTemplateName, Type = typeof(RibbonContextualTabGroupItemsControl))] 46[TemplatePart(Name = Ribbon.TitlePanelTemplateName, Type = typeof(RibbonTitlePanel))] 47[TemplatePart(Name = Ribbon.TitleHostTemplateName, Type = typeof(ContentPresenter))] 48[TemplatePart(Name = Ribbon.QatHostTemplateName, Type = typeof(Grid))] 49[TemplatePart(Name = Ribbon.HelpPaneTemplateName, Type = typeof(ContentPresenter))] 50[TemplatePart(Name = Ribbon.ItemsPresenterPopupTemplateName, Type = typeof(Popup))]
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (5)
29[TemplatePart(Name = RibbonApplicationMenu.PopupToggleButtonTemplateName, Type = typeof(RibbonToggleButton))] 30[TemplatePart(Name = RibbonApplicationMenu.PopupTemplateName, Type = typeof(Popup))] 31[TemplatePart(Name = RibbonApplicationMenu.SubmenuTemplateName, Type = typeof(FrameworkElement))] 32[TemplatePart(Name = RibbonApplicationMenu.FooterPaneTemplateName, Type = typeof(ContentPresenter))] 33[TemplatePart(Name = RibbonApplicationMenu.AuxiliaryPaneTemplateName, Type = typeof(ContentPresenter))]
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
31[TemplatePart(Name = RibbonButton.ImageTemplatePart, Type = typeof(Image))]
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (1)
31[TemplatePart(Name = RibbonCheckBox.CheckBorderTemplatePart, Type = typeof(Border))]
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (1)
27[TemplatePart(Name = PART_ContentPresenter, Type = typeof(RibbonContentPresenter))]
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (1)
26[TemplatePart(Name = CurrentFilterItemTemplatePartName, Type = typeof(ContentPresenter))]
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (4)
46[TemplatePart(Name = ItemsHostName, Type = typeof(ItemsPresenter))] 47[TemplatePart(Name = _filterMenuButtonTemplatePartName, Type = typeof(RibbonMenuButton))] 48[TemplatePart(Name = ScrollViewerTemplatePartName, Type=typeof(ScrollViewer))] 49[TemplatePart(Name = FilterContentPaneTemplatePartName, Type = typeof(ContentPresenter))]
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
38[TemplatePart(Name = ItemsHostName, Type = typeof(ItemsPresenter))] 39[TemplatePart(Name = HeaderPresenterName, Type = typeof(ContentPresenter))]
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (7)
40[TemplatePart(Name = RibbonGroup.CollapsedDropDownButtonTemplatePartName, Type = typeof(RibbonToggleButton))] 41[TemplatePart(Name = RibbonGroup.HeaderContentPresenterTemplatePartName, Type = typeof(ContentPresenter))] 42[TemplatePart(Name = RibbonGroup.HotBackgroundBorderTemplatePartName, Type = typeof(Border))] 43[TemplatePart(Name = RibbonGroup.ItemsPresenterTemplatePartName, Type = typeof(ItemsPresenter))] 44[TemplatePart(Name = RibbonGroup.PopupGridTemplatePartName, Type = typeof(Grid))] 45[TemplatePart(Name = RibbonGroup.PopupTemplatePartName, Type = typeof(Popup))] 46[TemplatePart(Name = RibbonGroup.TemplateContentControlTemplatePartName, Type = typeof(ContentControl))]
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (4)
36[TemplatePart(Name = RibbonMenuButton.ResizeThumbTemplatePartName, Type = typeof(Thumb))] 37[TemplatePart(Name = RibbonMenuButton.ToggleButtonTemplatePartName, Type = typeof(RibbonToggleButton))] 38[TemplatePart(Name = RibbonMenuButton.PopupTemplatePartName, Type = typeof(Popup))] 39[TemplatePart(Name = RibbonMenuButton.SubMenuScrollViewerTemplatePartName, Type = typeof(ScrollViewer))]
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (4)
36[TemplatePart(Name = RibbonMenuItem.ResizeThumbTemplatePartName, Type = typeof(Thumb))] 37[TemplatePart(Name = RibbonMenuItem.PopupTemplatePartName, Type = typeof(Popup))] 38[TemplatePart(Name = RibbonMenuItem.SideBarBorderTemplatePartName, Type = typeof(Border))] 39[TemplatePart(Name = RibbonMenuItem.SubMenuScrollViewerTemplatePartName, Type = typeof(ScrollViewer))]
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (4)
34[TemplatePart(Name = MainPanelTemplatePartName, Type = typeof(RibbonQuickAccessToolBarPanel))] 35[TemplatePart(Name = OverflowPanelTemplatePartName, Type = typeof(RibbonQuickAccessToolBarOverflowPanel))] 36[TemplatePart(Name = OverflowPopupTemplatePartName, Type = typeof(Popup))] 37[TemplatePart(Name = OverflowButtonTemplatePartName, Type = typeof(RibbonToggleButton))]
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
31[TemplatePart(Name = RibbonRadioButton.ImageTemplatePart, Type = typeof(Image))]
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
30[TemplatePart(Name = RibbonSplitButton.HeaderButtonTemplatePartName, Type = typeof(ButtonBase))] 31[TemplatePart(Name = RibbonMenuButton.ToggleButtonTemplatePartName, Type = typeof(RibbonToggleButton))]
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (3)
24[TemplatePart(Name = RibbonSplitMenuItem.ArrowButtonTemplatePart, Type = typeof(RibbonToggleButton))] 25[TemplatePart(Name = RibbonSplitMenuItem.HeaderButtonTemplatePart, Type = typeof(RibbonButton))] 26[TemplatePart(Name = RibbonMenuItem.SideBarBorderTemplatePartName, Type = typeof(Border))]
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
28[TemplatePart(Name = RibbonTabHeader.OuterBorderTemplatePartName, Type = typeof(Border))]
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
32[TemplatePart(Name = RibbonTextBox.ContentHostTemplatePartName, Type = typeof(ScrollViewer))]
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
31[TemplatePart(Name = RibbonToggleButton.ImageTemplatePart, Type = typeof(Image))]
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (3)
32[TemplatePart(Name = "PART_TextBlock1", Type = typeof(TextBlock))] 33[TemplatePart(Name = "PART_TextBlock2", Type = typeof(TextBlock))] 34[TemplatePart(Name = "PART_Path", Type = typeof(Path))]
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (2)
22[TemplatePart(Name = RibbonWindow._clientAreaBorderTemplateName, Type = typeof(Border))] 23[TemplatePart(Name = RibbonWindow._iconTemplateName, Type = typeof(Image))]