39 instantiations of FrameworkElementFactory
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)
949FrameworkElementFactory text = new FrameworkElementFactory(typeof(AccessText)); 957FrameworkElementFactory text = new FrameworkElementFactory(typeof(TextBlock));
System\Windows\Controls\DataGrid.cs (1)
44FrameworkElementFactory dataGridRowPresenterFactory = new FrameworkElementFactory(typeof(DataGridRowsPresenter));
System\Windows\Controls\DataGridRow.cs (1)
103ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1159FrameworkElementFactory 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)
869ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel)));
System\Windows\Controls\ListBox.cs (1)
74ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
System\Windows\Controls\Menu.cs (1)
72FrameworkElementFactory panel = new FrameworkElementFactory(typeof(WrapPanel));
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
39ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
43FrameworkElementFactory factory = new FrameworkElementFactory(typeof(DataGridCellsPanel));
System\Windows\Controls\Primitives\StatusBar.cs (1)
41ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel)));
System\Windows\Controls\ScrollViewer.cs (9)
2676FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid), "Grid"); 2677FrameworkElementFactory gridColumn1 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionOne"); 2678FrameworkElementFactory gridColumn2 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionTwo"); 2679FrameworkElementFactory gridRow1 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionOne"); 2680FrameworkElementFactory gridRow2 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionTwo"); 2681FrameworkElementFactory vsb = new FrameworkElementFactory(typeof(ScrollBar), VerticalScrollBarTemplateName); 2682FrameworkElementFactory hsb = new FrameworkElementFactory(typeof(ScrollBar), HorizontalScrollBarTemplateName); 2683FrameworkElementFactory content = new FrameworkElementFactory(typeof(ScrollContentPresenter), ScrollContentPresenterTemplateName); 2684FrameworkElementFactory corner = new FrameworkElementFactory(typeof(Rectangle), "Corner");
System\Windows\Controls\Validation.cs (2)
609FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border), "Border"); 613FrameworkElementFactory adornedElementPlaceHolder = new FrameworkElementFactory(typeof(AdornedElementPlaceholder), "Placeholder");
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4563bamlType.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)
98ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
63text = new FrameworkElementFactory(typeof(TextBlock));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
52ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
40FrameworkElementFactory factory = new FrameworkElementFactory(typeof(RibbonContextualTabGroupsPanel));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
42FrameworkElementFactory fef = new FrameworkElementFactory(typeof(StackPanel));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
64ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupItemsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
57ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
55ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonMenuItemsPanel)));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
47ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupsPanel)))));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
35ItemsPanelProperty.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)
46FrameworkElementFactory text = ContentPresenter.CreateTextBlockFactory(); 61FrameworkElementFactory text = ContentPresenter.CreateTextBlockFactory();
System\Windows\BroadcastEventHelper.cs (2)
509internal static FrameworkElementFactory GetFEFTreeRoot(DependencyObject templatedParent) 516FrameworkElementFactory fefTree = templatedParentTemplate.VisualTree;
System\Windows\Controls\ContentPresenter.cs (8)
50FrameworkElementFactory text; 714FrameworkElementFactory text = CreateAccessTextFactory(); 737FrameworkElementFactory text = CreateTextBlockFactory(); 761FrameworkElementFactory text = CreateTextBlockFactory(); 947internal static FrameworkElementFactory CreateAccessTextFactory() 949FrameworkElementFactory text = new FrameworkElementFactory(typeof(AccessText)); 955internal static FrameworkElementFactory CreateTextBlockFactory() 957FrameworkElementFactory text = new FrameworkElementFactory(typeof(TextBlock));
System\Windows\Controls\DataGrid.cs (1)
44FrameworkElementFactory dataGridRowPresenterFactory = new FrameworkElementFactory(typeof(DataGridRowsPresenter));
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1159FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border));
System\Windows\Controls\ItemsPanelTemplate.cs (2)
41public ItemsPanelTemplate(FrameworkElementFactory root) 111FrameworkElementFactory root;
System\Windows\Controls\Menu.cs (1)
72FrameworkElementFactory panel = new FrameworkElementFactory(typeof(WrapPanel));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
43FrameworkElementFactory factory = new FrameworkElementFactory(typeof(DataGridCellsPanel));
System\Windows\Controls\ScrollViewer.cs (9)
2676FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid), "Grid"); 2677FrameworkElementFactory gridColumn1 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionOne"); 2678FrameworkElementFactory gridColumn2 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionTwo"); 2679FrameworkElementFactory gridRow1 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionOne"); 2680FrameworkElementFactory gridRow2 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionTwo"); 2681FrameworkElementFactory vsb = new FrameworkElementFactory(typeof(ScrollBar), VerticalScrollBarTemplateName); 2682FrameworkElementFactory hsb = new FrameworkElementFactory(typeof(ScrollBar), HorizontalScrollBarTemplateName); 2683FrameworkElementFactory content = new FrameworkElementFactory(typeof(ScrollContentPresenter), ScrollContentPresenterTemplateName); 2684FrameworkElementFactory corner = new FrameworkElementFactory(typeof(Rectangle), "Corner");
System\Windows\Controls\Validation.cs (2)
609FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border), "Border"); 613FrameworkElementFactory adornedElementPlaceHolder = new FrameworkElementFactory(typeof(AdornedElementPlaceholder), "Placeholder");
System\Windows\FrameworkElementFactory.cs (11)
168public void AppendChild(FrameworkElementFactory child) 490public FrameworkElementFactory Parent 498public FrameworkElementFactory FirstChild 506public FrameworkElementFactory NextSibling 615FrameworkElementFactory child = _firstChild; 857FrameworkElementFactory childFactory = _firstChild; 952FrameworkElementFactory childFactory = _firstChild; 1291private FrameworkElementFactory _parent; 1292private FrameworkElementFactory _firstChild; 1293private FrameworkElementFactory _lastChild; 1294private FrameworkElementFactory _nextSibling;
System\Windows\FrameworkTemplate.cs (4)
92public FrameworkElementFactory VisualTree 380private void ValidateVisualTree(FrameworkElementFactory templateRoot) 1153FrameworkElementFactory.AddNodeToLogicalTree((FrameworkContentElement)container, 1525private FrameworkElementFactory _templateRoot;
System\Windows\Generated\FrameworkContentElement.cs (2)
575FrameworkElementFactory fefRoot = BroadcastEventHelper.GetFEFTreeRoot(TemplatedParent); 580FrameworkElementFactory fef = StyleHelper.FindFEF(fefRoot, TemplateChildIndex);
System\Windows\Generated\FrameworkElement.cs (2)
597FrameworkElementFactory fefRoot = BroadcastEventHelper.GetFEFTreeRoot(TemplatedParent); 602FrameworkElementFactory fef = StyleHelper.FindFEF(fefRoot, TemplateChildIndex);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
323case 227: t = () => typeof(FrameworkElementFactory); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (10)
4357typeof(System.Windows.FrameworkElementFactory), // type 4361bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ControlTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4374typeof(System.Windows.FrameworkElementFactory), // type 4378bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.DataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4645typeof(System.Windows.FrameworkElementFactory), // type 4649bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4785typeof(System.Windows.FrameworkElementFactory), // type 4789bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.HierarchicalDataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4973typeof(System.Windows.FrameworkElementFactory), // type 4977bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4561typeof(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)
500typeof(FrameworkElementFactory).IsAssignableFrom(PropertyType))) && 545if (PropertyType == typeof(FrameworkElementFactory) && value is FrameworkElementFactory) 547MarkupObject subItem = new FrameworkElementFactoryMarkupObject(value as FrameworkElementFactory, Manager); 586if (value is FrameworkElementFactory)
System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (7)
28internal FrameworkElementFactoryMarkupObject(FrameworkElementFactory factory, XamlDesignerSerializationManager manager) 118private FrameworkElementFactory _factory; 231internal FrameworkElementFactoryContent(FrameworkElementFactory factory, FrameworkElementFactoryMarkupObject item): base(item.Manager) 256FrameworkElementFactory child = _factory.FirstChild; 291FrameworkElementFactory _factory; 299internal FrameworkElementFactoryStringContent(FrameworkElementFactory factory, FrameworkElementFactoryMarkupObject item) 360FrameworkElementFactory _factory;
System\Windows\StyleHelper.cs (19)
346FrameworkElementFactory templateRoot, 861FrameworkElementFactory factory, 911FrameworkElementFactory templateRoot, 1069FrameworkElementFactory templateRoot, 1085FrameworkElementFactory childFef = null; 1238FrameworkElementFactory templateRoot, 1239FrameworkElementFactory childFef, 1772FrameworkElementFactory templateRoot, 2374internal static FrameworkElementFactory FindFEF(FrameworkElementFactory root, int childIndex) 2381FrameworkElementFactory child = root.FirstChild; 2382FrameworkElementFactory match = null; 2571FrameworkElementFactory templateRoot) 2624FrameworkElementFactory templateRoot) 3378FrameworkElementFactory oldFactory; 3379FrameworkElementFactory newFactory; 3694FrameworkElementFactory templateRoot) 3768FrameworkElementFactory templateRoot, 4200FrameworkElementFactory 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)
59FrameworkElementFactory text;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
40FrameworkElementFactory factory = new FrameworkElementFactory(typeof(RibbonContextualTabGroupsPanel));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
42FrameworkElementFactory fef = new FrameworkElementFactory(typeof(StackPanel));