22 instantiations of ItemsPanelTemplate
PresentationFramework (12)
System\Windows\Controls\DataGrid.cs (1)
46ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(dataGridRowPresenterFactory)));
System\Windows\Controls\DataGridRow.cs (1)
103ItemsPanelProperty.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)
869ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel)));
System\Windows\Controls\ListBox.cs (1)
74ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
System\Windows\Controls\Menu.cs (1)
73ItemsPanelTemplate template = new ItemsPanelTemplate(panel);
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
39ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
44ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(factory)));
System\Windows\Controls\Primitives\StatusBar.cs (1)
41ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel)));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5896bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ItemsPanelTemplate(); };
System\Windows\Markup\KnownTypes.cs (1)
1351case 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)
98ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
52ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
41ItemsPanelTemplate itemsPanel = new ItemsPanelTemplate(factory);
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
44ItemsPanelTemplate template = new ItemsPanelTemplate(fef);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
64ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupItemsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
57ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
55ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
47ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
35ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabHeadersPanel)))));
44 references to ItemsPanelTemplate
PresentationFramework (39)
System\Windows\Controls\DataGridRow.cs (2)
167public ItemsPanelTemplate ItemsPanel 169get { 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)
863= DependencyProperty.Register("ItemsPanel", typeof(ItemsPanelTemplate), typeof(ItemsControl), 867private static ItemsPanelTemplate GetDefaultItemsPanelTemplate() 869ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel))); 880public ItemsPanelTemplate ItemsPanel 882get { return (ItemsPanelTemplate) GetValue(ItemsPanelProperty); } 893((ItemsControl) d).OnItemsPanelChanged((ItemsPanelTemplate) e.OldValue, (ItemsPanelTemplate) e.NewValue); 901protected virtual void OnItemsPanelChanged(ItemsPanelTemplate oldItemsPanel, ItemsPanelTemplate newItemsPanel)
System\Windows\Controls\ItemsPresenter.cs (10)
110set { _templateCache = (ItemsPanelTemplate)value; } 119typeof(ItemsPanelTemplate), 122(ItemsPanelTemplate) null, // default value 130private ItemsPanelTemplate Template 139OnTemplateChanged((ItemsPanelTemplate)oldTemplate, (ItemsPanelTemplate)newTemplate); 158protected virtual void OnTemplateChanged(ItemsPanelTemplate oldTemplate, ItemsPanelTemplate newTemplate) 234ItemsPanelTemplate template = null; 343ItemsPanelTemplate _templateCache;
System\Windows\Controls\ListBox.cs (1)
74ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
System\Windows\Controls\Menu.cs (2)
70private static ItemsPanelTemplate GetDefaultPanel() 73ItemsPanelTemplate template = new ItemsPanelTemplate(panel);
System\Windows\Controls\Primitives\StatusBar.cs (1)
41ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel)));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
426case 330: t = () => typeof(ItemsPanelTemplate); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4969Type type = typeof(System.Windows.Controls.ItemsPanelTemplate); 4971this.GetXamlType(typeof(System.Windows.Controls.ItemsPanelTemplate)), // DeclaringType 4977bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4978bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5894typeof(System.Windows.Controls.ItemsPanelTemplate),
System\Windows\Markup\KnownTypes.cs (1)
5884case KnownElements.ItemsPanelTemplate: t = typeof(System.Windows.Controls.ItemsPanelTemplate); break;
System\Windows\TemplateContent.cs (1)
250if (OwnerTemplate is ItemsPanelTemplate)
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
52ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
41ItemsPanelTemplate itemsPanel = new ItemsPanelTemplate(factory);
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
44ItemsPanelTemplate template = new ItemsPanelTemplate(fef);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
57ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
55ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));