3 instantiations of BlockUIContainer
PresentationFramework (3)
System\Windows\Documents\TextRange.cs (1)
1587
BlockUIContainer blockUIContainer = new
BlockUIContainer
(embeddedElement)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2112
DefaultConstructor = delegate () { return new System.Windows.Documents.
BlockUIContainer
(); },
System\Windows\Markup\KnownTypes.cs (1)
1135
case KnownElements.BlockUIContainer: o = new System.Windows.Documents.
BlockUIContainer
(); break;
75 references to BlockUIContainer
PresentationFramework (75)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
996
typeof(
BlockUIContainer
).IsAssignableFrom(elementType))
1011
typeof(
BlockUIContainer
).IsAssignableFrom(elementType))
MS\Internal\Documents\TextDocumentView.cs (7)
858
BlockUIContainer
blockUIContainer = paragraph.Element as
BlockUIContainer
;
2368
BlockUIContainer
blockUIContainer = paragraph.Element as
BlockUIContainer
;
2866
BlockUIContainer
blockUIContainer = paragraphs[paragraphIndex].Element as
BlockUIContainer
;
3476
Invariant.Assert(textElement is
BlockUIContainer
, "Expecting BlockUIContainer");
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1054
else if (element is
BlockUIContainer
)
MS\Internal\PtsHost\PtsHost.cs (2)
2506
if (((
BlockUIContainer
)paraClient.Paragraph.Element).Child != null)
2509
UIElement uiElement = ((
BlockUIContainer
)paraClient.Paragraph.Element).Child;
MS\Internal\PtsHost\UIElementParaClient.cs (4)
142
if (startPosition.CompareTo(((
BlockUIContainer
)Paragraph.Element).ContentEnd) < 0 &&
143
endPosition.CompareTo(((
BlockUIContainer
)Paragraph.Element).ContentStart) > 0)
177
BlockUIContainer
elementOwner = (
BlockUIContainer
)Paragraph.Element;
MS\Internal\PtsHost\UIElementParagraph.cs (8)
178
Invariant.Assert(Element is
BlockUIContainer
);
205
if (((
BlockUIContainer
)Element).Child != null)
279
Invariant.Assert(Element is
BlockUIContainer
);
300
if (((
BlockUIContainer
)Element).Child != null)
406
Figure figure = (Figure) ((
BlockUIContainer
)Element).Parent;
461
_uiElementIsland = new UIElementIsland(((
BlockUIContainer
)Element).Child);
528
Figure figure = (Figure)((
BlockUIContainer
)Element).Parent;
548
DependencyObject parent = ((
BlockUIContainer
)Element).Parent;
System\Windows\Controls\TextAdaptor.cs (1)
605
if (parent is InlineUIContainer || parent is
BlockUIContainer
)
System\Windows\Documents\FlowDocument.cs (1)
919
if (parentOfEmbeddedElement is
BlockUIContainer
|| parentOfEmbeddedElement is InlineUIContainer)
System\windows\Documents\TextEditorLists.cs (2)
236
if (paragraphOrBlockUIContainer is
BlockUIContainer
)
291
if (paragraphOrBlockUIContainer is
BlockUIContainer
)
System\windows\Documents\TextEditorSelection.cs (1)
108
if (!typeof(
BlockUIContainer
).IsAssignableFrom(position.ParentType))
System\windows\Documents\TextEditorTyping.cs (4)
754
paragraphOrBlockUIContainerToDelete is
BlockUIContainer
&& paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
763
paragraphOrBlockUIContainerToDelete is
BlockUIContainer
&& paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
879
(position1.Parent is
BlockUIContainer
|| position2.Parent is
BlockUIContainer
) &&
System\Windows\Documents\TextElement.cs (3)
816
BlockUIContainer
blockContainer = this as
BlockUIContainer
;
821
throw new ArgumentException(SR.Format(SR.TextSchema_ThisBlockUIContainerHasAChildUIElementAlready, this.GetType().Name, ((
BlockUIContainer
)this).Child.GetType().Name, value.GetType().Name));
System\Windows\Documents\TextPointer.cs (3)
507
/// is positioned within <see cref="InlineUIContainer"/> or <see cref="
BlockUIContainer
"/>
802
/// <see cref="InlineUIContainer"/> or <see cref="
BlockUIContainer
"/>.</para>
1668
return (parentBlock is Paragraph) || (parentBlock is
BlockUIContainer
) ? parentBlock : null;
System\Windows\Documents\TextPointerBase.cs (4)
264
return (typeof(
BlockUIContainer
).IsAssignableFrom(position.ParentType));
337
if (elementType == typeof(InlineUIContainer) || elementType == typeof(
BlockUIContainer
))
343
else if (navigator.ParentType == typeof(InlineUIContainer) || navigator.ParentType == typeof(
BlockUIContainer
))
358
if (!(elementType == typeof(InlineUIContainer)) && !(elementType == typeof(
BlockUIContainer
)))
System\Windows\Documents\TextRange.cs (1)
1587
BlockUIContainer
blockUIContainer = new BlockUIContainer(embeddedElement)
System\Windows\Documents\TextRangeBase.cs (1)
688
typeof(
BlockUIContainer
).IsAssignableFrom(elementType))
System\Windows\Documents\TextRangeEdit.cs (8)
876
if (block is
BlockUIContainer
)
878
UIElement embeddedElement = ((
BlockUIContainer
)block).Child;
1034
if (block is Paragraph || block is
BlockUIContainer
|| block is List)
1493
if (startPosition.Parent is
BlockUIContainer
&& ((
BlockUIContainer
)startPosition.Parent).IsEmpty)
1495
((
BlockUIContainer
)startPosition.Parent).Reposition(null, null);
1515
if (first is
BlockUIContainer
)
1529
if (second is
BlockUIContainer
)
System\Windows\Documents\TextRangeEditLists.cs (1)
105
if (previousBlock is Paragraph || previousBlock is
BlockUIContainer
)
System\Windows\Documents\TextRangeEditTables.cs (2)
749
BlockUIContainer
blockUIContainer = (
BlockUIContainer
)position.Parent;
System\Windows\Documents\TextRangeSerialization.cs (7)
542
if (elementTypeStandardized == typeof(InlineUIContainer) || elementTypeStandardized == typeof(
BlockUIContainer
))
547
BlockUIContainer
blockUIContainer = textReader.GetAdjacentElement(LogicalDirection.Backward) as
BlockUIContainer
;
1228
if (uiContainer is
BlockUIContainer
)
1230
embeddedElement = ((
BlockUIContainer
)uiContainer).Child as FrameworkElement;
1233
((
BlockUIContainer
)uiContainer).Child = null;
1724
typeof(
BlockUIContainer
).IsAssignableFrom(commonAncestor.ParentType) ||
System\Windows\Documents\TextSchema.cs (5)
327
typeof(
BlockUIContainer
).IsAssignableFrom(elementType);
420
else if (typeof(
BlockUIContainer
).IsAssignableFrom(type))
422
return reduceElement ? typeof(Paragraph) : typeof(
BlockUIContainer
);
534
else if (typeof(
BlockUIContainer
).IsAssignableFrom(type))
869
else if (typeof(
BlockUIContainer
).IsAssignableFrom(parentType))
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
131
case 37: t = () => typeof(
BlockUIContainer
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4306
Type type = typeof(System.Windows.Documents.
BlockUIContainer
);
4308
this.GetXamlType(typeof(System.Windows.Documents.
BlockUIContainer
)), // DeclaringType
4315
SetDelegate = delegate (object target, object value) { ((System.Windows.Documents.
BlockUIContainer
)target).Child = (System.Windows.UIElement)value; },
4316
GetDelegate = delegate (object target) { return ((System.Windows.Documents.
BlockUIContainer
)target).Child; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2109
typeof(System.Windows.Documents.
BlockUIContainer
),
System\Windows\Markup\KnownTypes.cs (1)
5585
case KnownElements.BlockUIContainer: t = typeof(System.Windows.Documents.
BlockUIContainer
); break;