22 instantiations of ItemsPanelTemplate
PresentationFramework (12)
System\Windows\Controls\DataGrid.cs (1)
43ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(dataGridRowPresenterFactory)));
System\Windows\Controls\DataGridRow.cs (1)
99ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
System\Windows\Controls\GroupStyle.cs (2)
40ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel))); 45template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
System\Windows\Controls\ItemsControl.cs (1)
860ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel)));
System\Windows\Controls\ListBox.cs (1)
68ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
System\Windows\Controls\Menu.cs (1)
63ItemsPanelTemplate template = new ItemsPanelTemplate(panel);
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
34ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
39ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(factory)));
System\Windows\Controls\Primitives\StatusBar.cs (1)
38ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel)));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6443DefaultConstructor = delegate () { return new System.Windows.Controls.ItemsPanelTemplate(); },
System\Windows\Markup\KnownTypes.cs (1)
1345case KnownElements.ItemsPanelTemplate: o = new System.Windows.Controls.ItemsPanelTemplate(); break;
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
120listView.ItemsPanel = new ItemsPanelTemplate(wrapPanelFactory);
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
95ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
50ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
39ItemsPanelTemplate itemsPanel = new ItemsPanelTemplate(factory);
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
41ItemsPanelTemplate template = new ItemsPanelTemplate(fef);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
61ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupItemsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
54ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
52ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
45ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
33ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabHeadersPanel)))));
44 references to ItemsPanelTemplate
PresentationFramework (39)
System\Windows\Controls\DataGridRow.cs (2)
163public ItemsPanelTemplate ItemsPanel 165get { return (ItemsPanelTemplate)GetValue(ItemsPanelProperty); }
System\Windows\Controls\GroupStyle.cs (6)
40ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel))); 100public ItemsPanelTemplate Panel 192public static readonly ItemsPanelTemplate DefaultGroupPanel; 223ItemsPanelTemplate _panel; 236internal static ItemsPanelTemplate DefaultStackPanel; 237internal static ItemsPanelTemplate DefaultVirtualizingStackPanel;
System\Windows\Controls\ItemsControl.cs (9)
854= DependencyProperty.Register("ItemsPanel", typeof(ItemsPanelTemplate), typeof(ItemsControl), 858private static ItemsPanelTemplate GetDefaultItemsPanelTemplate() 860ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel))); 871public ItemsPanelTemplate ItemsPanel 873get { return (ItemsPanelTemplate) GetValue(ItemsPanelProperty); } 884((ItemsControl) d).OnItemsPanelChanged((ItemsPanelTemplate) e.OldValue, (ItemsPanelTemplate) e.NewValue); 892protected virtual void OnItemsPanelChanged(ItemsPanelTemplate oldItemsPanel, ItemsPanelTemplate newItemsPanel)
System\Windows\Controls\ItemsPresenter.cs (10)
106set { _templateCache = (ItemsPanelTemplate)value; } 115typeof(ItemsPanelTemplate), 118(ItemsPanelTemplate) null, // default value 126private ItemsPanelTemplate Template 135OnTemplateChanged((ItemsPanelTemplate)oldTemplate, (ItemsPanelTemplate)newTemplate); 154protected virtual void OnTemplateChanged(ItemsPanelTemplate oldTemplate, ItemsPanelTemplate newTemplate) 230ItemsPanelTemplate template = null; 339ItemsPanelTemplate _templateCache;
System\Windows\Controls\ListBox.cs (1)
68ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
System\Windows\Controls\Menu.cs (2)
60private static ItemsPanelTemplate GetDefaultPanel() 63ItemsPanelTemplate template = new ItemsPanelTemplate(panel);
System\Windows\Controls\Primitives\StatusBar.cs (1)
38ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel)));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
424case 330: t = () => typeof(ItemsPanelTemplate); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
5279Type type = typeof(System.Windows.Controls.ItemsPanelTemplate); 5281this.GetXamlType(typeof(System.Windows.Controls.ItemsPanelTemplate)), // DeclaringType 5288SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }, 5289GetDelegate = delegate (object target) { return ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6440typeof(System.Windows.Controls.ItemsPanelTemplate),
System\Windows\Markup\KnownTypes.cs (1)
5878case KnownElements.ItemsPanelTemplate: t = typeof(System.Windows.Controls.ItemsPanelTemplate); break;
System\Windows\TemplateContent.cs (1)
247if (OwnerTemplate is ItemsPanelTemplate)
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
50ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
39ItemsPanelTemplate itemsPanel = new ItemsPanelTemplate(factory);
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
41ItemsPanelTemplate template = new ItemsPanelTemplate(fef);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
54ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
52ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));