12 instantiations of ItemsPanelTemplate
PresentationFramework (12)
src\Framework\System\Windows\Controls\DataGrid.cs (1)
47ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(dataGridRowPresenterFactory)));
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
104ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
src\Framework\System\Windows\Controls\GroupStyle.cs (2)
43ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel))); 48template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
871ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel)));
src\Framework\System\Windows\Controls\ListBox.cs (1)
72ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
src\Framework\System\Windows\Controls\Menu.cs (1)
76ItemsPanelTemplate template = new ItemsPanelTemplate(panel);
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
40ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
44ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(factory)));
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (1)
42ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel)));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5892bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ItemsPanelTemplate(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1352case KnownElements.ItemsPanelTemplate: o = new System.Windows.Controls.ItemsPanelTemplate(); break;
43 references to ItemsPanelTemplate
PresentationFramework (39)
src\Framework\System\Windows\Controls\DataGridRow.cs (2)
168public ItemsPanelTemplate ItemsPanel 170get { return (ItemsPanelTemplate)GetValue(ItemsPanelProperty); }
src\Framework\System\Windows\Controls\GroupStyle.cs (6)
43ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel))); 103public ItemsPanelTemplate Panel 195public static readonly ItemsPanelTemplate DefaultGroupPanel; 226ItemsPanelTemplate _panel; 239internal static ItemsPanelTemplate DefaultStackPanel; 240internal static ItemsPanelTemplate DefaultVirtualizingStackPanel;
src\Framework\System\Windows\Controls\ItemsControl.cs (9)
865= DependencyProperty.Register("ItemsPanel", typeof(ItemsPanelTemplate), typeof(ItemsControl), 869private static ItemsPanelTemplate GetDefaultItemsPanelTemplate() 871ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel))); 882public ItemsPanelTemplate ItemsPanel 884get { return (ItemsPanelTemplate) GetValue(ItemsPanelProperty); } 895((ItemsControl) d).OnItemsPanelChanged((ItemsPanelTemplate) e.OldValue, (ItemsPanelTemplate) e.NewValue); 903protected virtual void OnItemsPanelChanged(ItemsPanelTemplate oldItemsPanel, ItemsPanelTemplate newItemsPanel)
src\Framework\System\Windows\Controls\ItemsPresenter.cs (10)
112set { _templateCache = (ItemsPanelTemplate)value; } 121typeof(ItemsPanelTemplate), 124(ItemsPanelTemplate) null, // default value 132private ItemsPanelTemplate Template 141OnTemplateChanged((ItemsPanelTemplate)oldTemplate, (ItemsPanelTemplate)newTemplate); 160protected virtual void OnTemplateChanged(ItemsPanelTemplate oldTemplate, ItemsPanelTemplate newTemplate) 236ItemsPanelTemplate template = null; 345ItemsPanelTemplate _templateCache;
src\Framework\System\Windows\Controls\ListBox.cs (1)
72ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
src\Framework\System\Windows\Controls\Menu.cs (2)
73private static ItemsPanelTemplate GetDefaultPanel() 76ItemsPanelTemplate template = new ItemsPanelTemplate(panel);
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (1)
42ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel)));
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
422case 330: t = () => typeof(ItemsPanelTemplate); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4944Type type = typeof(System.Windows.Controls.ItemsPanelTemplate); 4946this.GetXamlType(typeof(System.Windows.Controls.ItemsPanelTemplate)), // DeclaringType 4952bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4953bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5890typeof(System.Windows.Controls.ItemsPanelTemplate),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5874case KnownElements.ItemsPanelTemplate: t = typeof(System.Windows.Controls.ItemsPanelTemplate); break;
src\Framework\System\Windows\TemplateContent.cs (1)
261if (OwnerTemplate is ItemsPanelTemplate)
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (4)
50DependencyProperty.Register("ItemsPanel", typeof(ItemsPanelTemplate), typeof(WorkflowItemsPresenter), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(WorkflowItemsPresenter.OnItemsPanelChanged))); 146public ItemsPanelTemplate ItemsPanel 148get { return (ItemsPanelTemplate)GetValue(ItemsPanelProperty); } 205itemsPresenter.panel.ItemsPanel = (ItemsPanelTemplate)e.NewValue;