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