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