40 instantiations of FrameworkElementFactory
Microsoft.AspNetCore.Components.WebView.Wpf (1)
BlazorWebView.cs (1)
118 VisualTree = new FrameworkElementFactory(typeof(WebView2Control), WebViewTemplateChildName)
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (2)
79var templateBorder = new FrameworkElementFactory(typeof(Border), "Border"); 84var templateImage = new FrameworkElementFactory(typeof(CrispImage));
PresentationFramework (26)
System\Windows\Controls\ContentPresenter.cs (2)
940FrameworkElementFactory text = new FrameworkElementFactory(typeof(AccessText)); 948FrameworkElementFactory 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)
1156FrameworkElementFactory 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)));
System\Windows\Controls\ScrollViewer.cs (9)
2668FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid), "Grid"); 2669FrameworkElementFactory gridColumn1 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionOne"); 2670FrameworkElementFactory gridColumn2 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionTwo"); 2671FrameworkElementFactory gridRow1 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionOne"); 2672FrameworkElementFactory gridRow2 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionTwo"); 2673FrameworkElementFactory vsb = new FrameworkElementFactory(typeof(ScrollBar), VerticalScrollBarTemplateName); 2674FrameworkElementFactory hsb = new FrameworkElementFactory(typeof(ScrollBar), HorizontalScrollBarTemplateName); 2675FrameworkElementFactory content = new FrameworkElementFactory(typeof(ScrollContentPresenter), ScrollContentPresenterTemplateName); 2676FrameworkElementFactory corner = new FrameworkElementFactory(typeof(Rectangle), "Corner");
System\Windows\Controls\Validation.cs (2)
601FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border), "Border"); 605FrameworkElementFactory adornedElementPlaceHolder = new FrameworkElementFactory(typeof(AdornedElementPlaceholder), "Placeholder");
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4561bamlType.DefaultConstructor = delegate() { return new System.Windows.FrameworkElementFactory(); };
System\Windows\Markup\KnownTypes.cs (1)
1287case KnownElements.FrameworkElementFactory: o = new System.Windows.FrameworkElementFactory(); break;
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)))));
98 references to FrameworkElementFactory
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (2)
79var templateBorder = new FrameworkElementFactory(typeof(Border), "Border"); 84var templateImage = new FrameworkElementFactory(typeof(CrispImage));
PresentationFramework (92)
MS\Internal\Data\DisplayMemberTemplateSelector.cs (2)
43FrameworkElementFactory text = ContentPresenter.CreateTextBlockFactory(); 58FrameworkElementFactory text = ContentPresenter.CreateTextBlockFactory();
System\Windows\BroadcastEventHelper.cs (2)
503internal static FrameworkElementFactory GetFEFTreeRoot(DependencyObject templatedParent) 510FrameworkElementFactory fefTree = templatedParentTemplate.VisualTree;
System\Windows\Controls\ContentPresenter.cs (8)
41FrameworkElementFactory text; 705FrameworkElementFactory text = CreateAccessTextFactory(); 728FrameworkElementFactory text = CreateTextBlockFactory(); 752FrameworkElementFactory text = CreateTextBlockFactory(); 938internal static FrameworkElementFactory CreateAccessTextFactory() 940FrameworkElementFactory text = new FrameworkElementFactory(typeof(AccessText)); 946internal static FrameworkElementFactory CreateTextBlockFactory() 948FrameworkElementFactory text = new FrameworkElementFactory(typeof(TextBlock));
System\Windows\Controls\DataGrid.cs (1)
41FrameworkElementFactory dataGridRowPresenterFactory = new FrameworkElementFactory(typeof(DataGridRowsPresenter));
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1156FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border));
System\Windows\Controls\ItemsPanelTemplate.cs (2)
36public ItemsPanelTemplate(FrameworkElementFactory root) 106FrameworkElementFactory root;
System\Windows\Controls\Menu.cs (1)
62FrameworkElementFactory panel = new FrameworkElementFactory(typeof(WrapPanel));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
38FrameworkElementFactory factory = new FrameworkElementFactory(typeof(DataGridCellsPanel));
System\Windows\Controls\ScrollViewer.cs (9)
2668FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid), "Grid"); 2669FrameworkElementFactory gridColumn1 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionOne"); 2670FrameworkElementFactory gridColumn2 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionTwo"); 2671FrameworkElementFactory gridRow1 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionOne"); 2672FrameworkElementFactory gridRow2 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionTwo"); 2673FrameworkElementFactory vsb = new FrameworkElementFactory(typeof(ScrollBar), VerticalScrollBarTemplateName); 2674FrameworkElementFactory hsb = new FrameworkElementFactory(typeof(ScrollBar), HorizontalScrollBarTemplateName); 2675FrameworkElementFactory content = new FrameworkElementFactory(typeof(ScrollContentPresenter), ScrollContentPresenterTemplateName); 2676FrameworkElementFactory corner = new FrameworkElementFactory(typeof(Rectangle), "Corner");
System\Windows\Controls\Validation.cs (2)
601FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border), "Border"); 605FrameworkElementFactory adornedElementPlaceHolder = new FrameworkElementFactory(typeof(AdornedElementPlaceholder), "Placeholder");
System\Windows\FrameworkElementFactory.cs (11)
160public void AppendChild(FrameworkElementFactory child) 482public FrameworkElementFactory Parent 490public FrameworkElementFactory FirstChild 498public FrameworkElementFactory NextSibling 607FrameworkElementFactory child = _firstChild; 849FrameworkElementFactory childFactory = _firstChild; 944FrameworkElementFactory childFactory = _firstChild; 1283private FrameworkElementFactory _parent; 1284private FrameworkElementFactory _firstChild; 1285private FrameworkElementFactory _lastChild; 1286private FrameworkElementFactory _nextSibling;
System\Windows\FrameworkTemplate.cs (4)
83public FrameworkElementFactory VisualTree 371private void ValidateVisualTree(FrameworkElementFactory templateRoot) 1144FrameworkElementFactory.AddNodeToLogicalTree((FrameworkContentElement)container, 1516private FrameworkElementFactory _templateRoot;
System\Windows\Generated\FrameworkContentElement.cs (2)
569FrameworkElementFactory fefRoot = BroadcastEventHelper.GetFEFTreeRoot(TemplatedParent); 574FrameworkElementFactory fef = StyleHelper.FindFEF(fefRoot, TemplateChildIndex);
System\Windows\Generated\FrameworkElement.cs (2)
591FrameworkElementFactory fefRoot = BroadcastEventHelper.GetFEFTreeRoot(TemplatedParent); 596FrameworkElementFactory fef = StyleHelper.FindFEF(fefRoot, TemplateChildIndex);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
321case 227: t = () => typeof(FrameworkElementFactory); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (10)
4355typeof(System.Windows.FrameworkElementFactory), // type 4359bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ControlTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4372typeof(System.Windows.FrameworkElementFactory), // type 4376bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.DataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4643typeof(System.Windows.FrameworkElementFactory), // type 4647bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4783typeof(System.Windows.FrameworkElementFactory), // type 4787bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.HierarchicalDataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4971typeof(System.Windows.FrameworkElementFactory), // type 4975bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4559typeof(System.Windows.FrameworkElementFactory),
System\Windows\Markup\KnownTypes.cs (1)
5781case KnownElements.FrameworkElementFactory: t = typeof(System.Windows.FrameworkElementFactory); break;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (5)
489typeof(FrameworkElementFactory).IsAssignableFrom(PropertyType))) && 534if (PropertyType == typeof(FrameworkElementFactory) && value is FrameworkElementFactory) 536MarkupObject subItem = new FrameworkElementFactoryMarkupObject(value as FrameworkElementFactory, Manager); 575if (value is FrameworkElementFactory)
System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (7)
22internal FrameworkElementFactoryMarkupObject(FrameworkElementFactory factory, XamlDesignerSerializationManager manager) 112private FrameworkElementFactory _factory; 225internal FrameworkElementFactoryContent(FrameworkElementFactory factory, FrameworkElementFactoryMarkupObject item): base(item.Manager) 250FrameworkElementFactory child = _factory.FirstChild; 285FrameworkElementFactory _factory; 293internal FrameworkElementFactoryStringContent(FrameworkElementFactory factory, FrameworkElementFactoryMarkupObject item) 354FrameworkElementFactory _factory;
System\Windows\StyleHelper.cs (19)
340FrameworkElementFactory templateRoot, 855FrameworkElementFactory factory, 905FrameworkElementFactory templateRoot, 1063FrameworkElementFactory templateRoot, 1079FrameworkElementFactory childFef = null; 1232FrameworkElementFactory templateRoot, 1233FrameworkElementFactory childFef, 1766FrameworkElementFactory templateRoot, 2368internal static FrameworkElementFactory FindFEF(FrameworkElementFactory root, int childIndex) 2375FrameworkElementFactory child = root.FirstChild; 2376FrameworkElementFactory match = null; 2565FrameworkElementFactory templateRoot) 2618FrameworkElementFactory templateRoot) 3372FrameworkElementFactory oldFactory; 3373FrameworkElementFactory newFactory; 3688FrameworkElementFactory templateRoot) 3762FrameworkElementFactory templateRoot, 4194FrameworkElementFactory templateRoot)
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
118var wrapPanelFactory = new FrameworkElementFactory(typeof(WrapPanel));
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
57FrameworkElementFactory text;
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));