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