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