25 references to FrameworkElementFactory
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
84var templateImage = new FrameworkElementFactory(typeof(CrispImage));
PresentationFramework (13)
System\Windows\Controls\ContentPresenter.cs (2)
954FrameworkElementFactory text = new FrameworkElementFactory(typeof(AccessText)); 962FrameworkElementFactory text = new FrameworkElementFactory(typeof(TextBlock));
System\Windows\Controls\DataGrid.cs (1)
41FrameworkElementFactory dataGridRowPresenterFactory = new FrameworkElementFactory(typeof(DataGridRowsPresenter));
System\Windows\Controls\DataGridRow.cs (1)
99ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1162FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border));
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)
860ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel)));
System\Windows\Controls\ListBox.cs (1)
68ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
System\Windows\Controls\Menu.cs (1)
62FrameworkElementFactory panel = new FrameworkElementFactory(typeof(WrapPanel));
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
34ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
38FrameworkElementFactory factory = new FrameworkElementFactory(typeof(DataGridCellsPanel));
System\Windows\Controls\Primitives\StatusBar.cs (1)
38ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel)));
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
118var wrapPanelFactory = new FrameworkElementFactory(typeof(WrapPanel));
System.Windows.Controls.Ribbon (10)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
95ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
61text = new FrameworkElementFactory(typeof(TextBlock));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
50ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
38FrameworkElementFactory factory = new FrameworkElementFactory(typeof(RibbonContextualTabGroupsPanel));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
39FrameworkElementFactory fef = new FrameworkElementFactory(typeof(StackPanel));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
61ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupItemsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
54ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
52ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
45ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
33ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabHeadersPanel)))));