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