31 instantiations of FrameworkElementFactory
PresentationFramework (26)
src\Framework\System\Windows\Controls\ContentPresenter.cs (2)
951FrameworkElementFactory text = new FrameworkElementFactory(typeof(AccessText)); 959FrameworkElementFactory text = new FrameworkElementFactory(typeof(TextBlock));
src\Framework\System\Windows\Controls\DataGrid.cs (1)
45FrameworkElementFactory dataGridRowPresenterFactory = new FrameworkElementFactory(typeof(DataGridRowsPresenter));
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
104ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1162FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border));
src\Framework\System\Windows\Controls\GroupStyle.cs (2)
43ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel))); 48template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
871ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(StackPanel)));
src\Framework\System\Windows\Controls\ListBox.cs (1)
72ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(VirtualizingStackPanel)));
src\Framework\System\Windows\Controls\Menu.cs (1)
75FrameworkElementFactory panel = new FrameworkElementFactory(typeof(WrapPanel));
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
40ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel)))));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
43FrameworkElementFactory factory = new FrameworkElementFactory(typeof(DataGridCellsPanel));
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (1)
42ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel)));
src\Framework\System\Windows\Controls\ScrollViewer.cs (9)
2716FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid), "Grid"); 2717FrameworkElementFactory gridColumn1 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionOne"); 2718FrameworkElementFactory gridColumn2 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionTwo"); 2719FrameworkElementFactory gridRow1 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionOne"); 2720FrameworkElementFactory gridRow2 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionTwo"); 2721FrameworkElementFactory vsb = new FrameworkElementFactory(typeof(ScrollBar), VerticalScrollBarTemplateName); 2722FrameworkElementFactory hsb = new FrameworkElementFactory(typeof(ScrollBar), HorizontalScrollBarTemplateName); 2723FrameworkElementFactory content = new FrameworkElementFactory(typeof(ScrollContentPresenter), ScrollContentPresenterTemplateName); 2724FrameworkElementFactory corner = new FrameworkElementFactory(typeof(Rectangle), "Corner");
src\Framework\System\Windows\Controls\Validation.cs (2)
604FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border), "Border"); 608FrameworkElementFactory adornedElementPlaceHolder = new FrameworkElementFactory(typeof(AdornedElementPlaceholder), "Placeholder");
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4559bamlType.DefaultConstructor = delegate() { return new System.Windows.FrameworkElementFactory(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1288case KnownElements.FrameworkElementFactory: o = new System.Windows.FrameworkElementFactory(); break;
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
693this.flagEditorTemplate.VisualTree = new FrameworkElementFactory(typeof(FlagEditor));
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
739var contentPresenterFactory = new FrameworkElementFactory(typeof(ContentPresenter));
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
937FrameworkElementFactory contentControlFactory = new FrameworkElementFactory(typeof(ContentControl)); 942template.VisualTree = new FrameworkElementFactory(typeof(NoContextMenuGrid));
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
1148FrameworkElementFactory feFactory = new FrameworkElementFactory(typeof(VerticalConnector));
95 references to FrameworkElementFactory
PresentationFramework (92)
src\Framework\MS\Internal\Data\DisplayMemberTemplateSelector.cs (2)
48FrameworkElementFactory text = ContentPresenter.CreateTextBlockFactory(); 63FrameworkElementFactory text = ContentPresenter.CreateTextBlockFactory();
src\Framework\System\Windows\BroadcastEventHelper.cs (2)
507internal static FrameworkElementFactory GetFEFTreeRoot(DependencyObject templatedParent) 514FrameworkElementFactory fefTree = templatedParentTemplate.VisualTree;
src\Framework\System\Windows\Controls\ContentPresenter.cs (8)
52FrameworkElementFactory text; 716FrameworkElementFactory text = CreateAccessTextFactory(); 739FrameworkElementFactory text = CreateTextBlockFactory(); 763FrameworkElementFactory text = CreateTextBlockFactory(); 949internal static FrameworkElementFactory CreateAccessTextFactory() 951FrameworkElementFactory text = new FrameworkElementFactory(typeof(AccessText)); 957internal static FrameworkElementFactory CreateTextBlockFactory() 959FrameworkElementFactory text = new FrameworkElementFactory(typeof(TextBlock));
src\Framework\System\Windows\Controls\DataGrid.cs (1)
45FrameworkElementFactory dataGridRowPresenterFactory = new FrameworkElementFactory(typeof(DataGridRowsPresenter));
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1162FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border));
src\Framework\System\Windows\Controls\ItemsPanelTemplate.cs (2)
45public ItemsPanelTemplate(FrameworkElementFactory root) 115FrameworkElementFactory root;
src\Framework\System\Windows\Controls\Menu.cs (1)
75FrameworkElementFactory panel = new FrameworkElementFactory(typeof(WrapPanel));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
43FrameworkElementFactory factory = new FrameworkElementFactory(typeof(DataGridCellsPanel));
src\Framework\System\Windows\Controls\ScrollViewer.cs (9)
2716FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid), "Grid"); 2717FrameworkElementFactory gridColumn1 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionOne"); 2718FrameworkElementFactory gridColumn2 = new FrameworkElementFactory(typeof(ColumnDefinition), "ColumnDefinitionTwo"); 2719FrameworkElementFactory gridRow1 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionOne"); 2720FrameworkElementFactory gridRow2 = new FrameworkElementFactory(typeof(RowDefinition), "RowDefinitionTwo"); 2721FrameworkElementFactory vsb = new FrameworkElementFactory(typeof(ScrollBar), VerticalScrollBarTemplateName); 2722FrameworkElementFactory hsb = new FrameworkElementFactory(typeof(ScrollBar), HorizontalScrollBarTemplateName); 2723FrameworkElementFactory content = new FrameworkElementFactory(typeof(ScrollContentPresenter), ScrollContentPresenterTemplateName); 2724FrameworkElementFactory corner = new FrameworkElementFactory(typeof(Rectangle), "Corner");
src\Framework\System\Windows\Controls\Validation.cs (2)
604FrameworkElementFactory border = new FrameworkElementFactory(typeof(Border), "Border"); 608FrameworkElementFactory adornedElementPlaceHolder = new FrameworkElementFactory(typeof(AdornedElementPlaceholder), "Placeholder");
src\Framework\System\Windows\FrameworkElementFactory.cs (11)
168public void AppendChild(FrameworkElementFactory child) 513public FrameworkElementFactory Parent 521public FrameworkElementFactory FirstChild 529public FrameworkElementFactory NextSibling 637FrameworkElementFactory child = _firstChild; 881FrameworkElementFactory childFactory = _firstChild; 976FrameworkElementFactory childFactory = _firstChild; 1314private FrameworkElementFactory _parent; 1315private FrameworkElementFactory _firstChild; 1316private FrameworkElementFactory _lastChild; 1317private FrameworkElementFactory _nextSibling;
src\Framework\System\Windows\FrameworkTemplate.cs (4)
92public FrameworkElementFactory VisualTree 383private void ValidateVisualTree(FrameworkElementFactory templateRoot) 1178FrameworkElementFactory.AddNodeToLogicalTree((FrameworkContentElement)container, 1550private FrameworkElementFactory _templateRoot;
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (2)
588FrameworkElementFactory fefRoot = BroadcastEventHelper.GetFEFTreeRoot(TemplatedParent); 593FrameworkElementFactory fef = StyleHelper.FindFEF(fefRoot, TemplateChildIndex);
src\Framework\System\Windows\Generated\FrameworkElement.cs (2)
608FrameworkElementFactory fefRoot = BroadcastEventHelper.GetFEFTreeRoot(TemplatedParent); 613FrameworkElementFactory fef = StyleHelper.FindFEF(fefRoot, TemplateChildIndex);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
319case 227: t = () => typeof(FrameworkElementFactory); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (10)
4332typeof(System.Windows.FrameworkElementFactory), // type 4336bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ControlTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4349typeof(System.Windows.FrameworkElementFactory), // type 4353bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.DataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4620typeof(System.Windows.FrameworkElementFactory), // type 4624bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.FrameworkTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4760typeof(System.Windows.FrameworkElementFactory), // type 4764bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.HierarchicalDataTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; }; 4948typeof(System.Windows.FrameworkElementFactory), // type 4952bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ItemsPanelTemplate)target).VisualTree = (System.Windows.FrameworkElementFactory)value; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4557typeof(System.Windows.FrameworkElementFactory),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5771case KnownElements.FrameworkElementFactory: t = typeof(System.Windows.FrameworkElementFactory); break;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (5)
515typeof(FrameworkElementFactory).IsAssignableFrom(PropertyType))) && 560if (PropertyType == typeof(FrameworkElementFactory) && value is FrameworkElementFactory) 562MarkupObject subItem = new FrameworkElementFactoryMarkupObject(value as FrameworkElementFactory, Manager); 601if (value is FrameworkElementFactory)
src\Framework\System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (7)
33internal FrameworkElementFactoryMarkupObject(FrameworkElementFactory factory, XamlDesignerSerializationManager manager) 123private FrameworkElementFactory _factory; 237internal FrameworkElementFactoryContent(FrameworkElementFactory factory, FrameworkElementFactoryMarkupObject item): base(item.Manager) 262FrameworkElementFactory child = _factory.FirstChild; 297FrameworkElementFactory _factory; 305internal FrameworkElementFactoryStringContent(FrameworkElementFactory factory, FrameworkElementFactoryMarkupObject item) 366FrameworkElementFactory _factory;
src\Framework\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) 3377FrameworkElementFactory oldFactory; 3378FrameworkElementFactory newFactory; 3693FrameworkElementFactory templateRoot) 3767FrameworkElementFactory templateRoot, 4199FrameworkElementFactory templateRoot)
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
739var contentPresenterFactory = new FrameworkElementFactory(typeof(ContentPresenter));
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
937FrameworkElementFactory contentControlFactory = new FrameworkElementFactory(typeof(ContentControl));
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
1148FrameworkElementFactory feFactory = new FrameworkElementFactory(typeof(VerticalConnector));