3 instantiations of BlockUIContainer
PresentationFramework (3)
System\Windows\Documents\TextRange.cs (1)
1586
BlockUIContainer blockUIContainer = new
BlockUIContainer
(embeddedElement)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2111
DefaultConstructor = delegate () { return new System.Windows.Documents.
BlockUIContainer
(); },
System\Windows\Markup\KnownTypes.cs (1)
1134
case KnownElements.BlockUIContainer: o = new System.Windows.Documents.
BlockUIContainer
(); break;
75 references to BlockUIContainer
PresentationFramework (75)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
992
typeof(
BlockUIContainer
).IsAssignableFrom(elementType))
1007
typeof(
BlockUIContainer
).IsAssignableFrom(elementType))
MS\Internal\Documents\TextDocumentView.cs (7)
857
BlockUIContainer
blockUIContainer = paragraph.Element as
BlockUIContainer
;
2358
BlockUIContainer
blockUIContainer = paragraph.Element as
BlockUIContainer
;
2856
BlockUIContainer
blockUIContainer = paragraphs[paragraphIndex].Element as
BlockUIContainer
;
3466
Invariant.Assert(textElement is
BlockUIContainer
, "Expecting BlockUIContainer");
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1050
else if (element is
BlockUIContainer
)
MS\Internal\PtsHost\PtsHost.cs (2)
2505
if (((
BlockUIContainer
)paraClient.Paragraph.Element).Child != null)
2508
UIElement uiElement = ((
BlockUIContainer
)paraClient.Paragraph.Element).Child;
MS\Internal\PtsHost\UIElementParaClient.cs (4)
141
if (startPosition.CompareTo(((
BlockUIContainer
)Paragraph.Element).ContentEnd) < 0 &&
142
endPosition.CompareTo(((
BlockUIContainer
)Paragraph.Element).ContentStart) > 0)
176
BlockUIContainer
elementOwner = (
BlockUIContainer
)Paragraph.Element;
MS\Internal\PtsHost\UIElementParagraph.cs (8)
174
Invariant.Assert(Element is
BlockUIContainer
);
201
if (((
BlockUIContainer
)Element).Child != null)
275
Invariant.Assert(Element is
BlockUIContainer
);
296
if (((
BlockUIContainer
)Element).Child != null)
402
Figure figure = (Figure) ((
BlockUIContainer
)Element).Parent;
457
_uiElementIsland = new UIElementIsland(((
BlockUIContainer
)Element).Child);
524
Figure figure = (Figure)((
BlockUIContainer
)Element).Parent;
544
DependencyObject parent = ((
BlockUIContainer
)Element).Parent;
System\Windows\Controls\TextAdaptor.cs (1)
598
if (parent is InlineUIContainer || parent is
BlockUIContainer
)
System\Windows\Documents\FlowDocument.cs (1)
915
if (parentOfEmbeddedElement is
BlockUIContainer
|| parentOfEmbeddedElement is InlineUIContainer)
System\windows\Documents\TextEditorLists.cs (2)
235
if (paragraphOrBlockUIContainer is
BlockUIContainer
)
290
if (paragraphOrBlockUIContainer is
BlockUIContainer
)
System\windows\Documents\TextEditorSelection.cs (1)
107
if (!typeof(
BlockUIContainer
).IsAssignableFrom(position.ParentType))
System\windows\Documents\TextEditorTyping.cs (4)
744
paragraphOrBlockUIContainerToDelete is
BlockUIContainer
&& paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
753
paragraphOrBlockUIContainerToDelete is
BlockUIContainer
&& paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
869
(position1.Parent is
BlockUIContainer
|| position2.Parent is
BlockUIContainer
) &&
System\Windows\Documents\TextElement.cs (3)
815
BlockUIContainer
blockContainer = this as
BlockUIContainer
;
820
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)
506
/// is positioned within <see cref="InlineUIContainer"/> or <see cref="
BlockUIContainer
"/>
801
/// <see cref="InlineUIContainer"/> or <see cref="
BlockUIContainer
"/>.</para>
1667
return (parentBlock is Paragraph) || (parentBlock is
BlockUIContainer
) ? parentBlock : null;
System\Windows\Documents\TextPointerBase.cs (4)
263
return (typeof(
BlockUIContainer
).IsAssignableFrom(position.ParentType));
336
if (elementType == typeof(InlineUIContainer) || elementType == typeof(
BlockUIContainer
))
342
else if (navigator.ParentType == typeof(InlineUIContainer) || navigator.ParentType == typeof(
BlockUIContainer
))
357
if (!(elementType == typeof(InlineUIContainer)) && !(elementType == typeof(
BlockUIContainer
)))
System\Windows\Documents\TextRange.cs (1)
1586
BlockUIContainer
blockUIContainer = new BlockUIContainer(embeddedElement)
System\Windows\Documents\TextRangeBase.cs (1)
687
typeof(
BlockUIContainer
).IsAssignableFrom(elementType))
System\Windows\Documents\TextRangeEdit.cs (8)
875
if (block is
BlockUIContainer
)
877
UIElement embeddedElement = ((
BlockUIContainer
)block).Child;
1033
if (block is Paragraph || block is
BlockUIContainer
|| block is List)
1492
if (startPosition.Parent is
BlockUIContainer
&& ((
BlockUIContainer
)startPosition.Parent).IsEmpty)
1494
((
BlockUIContainer
)startPosition.Parent).Reposition(null, null);
1514
if (first is
BlockUIContainer
)
1528
if (second is
BlockUIContainer
)
System\Windows\Documents\TextRangeEditLists.cs (1)
104
if (previousBlock is Paragraph || previousBlock is
BlockUIContainer
)
System\Windows\Documents\TextRangeEditTables.cs (2)
748
BlockUIContainer
blockUIContainer = (
BlockUIContainer
)position.Parent;
System\Windows\Documents\TextRangeSerialization.cs (7)
541
if (elementTypeStandardized == typeof(InlineUIContainer) || elementTypeStandardized == typeof(
BlockUIContainer
))
546
BlockUIContainer
blockUIContainer = textReader.GetAdjacentElement(LogicalDirection.Backward) as
BlockUIContainer
;
1227
if (uiContainer is
BlockUIContainer
)
1229
embeddedElement = ((
BlockUIContainer
)uiContainer).Child as FrameworkElement;
1232
((
BlockUIContainer
)uiContainer).Child = null;
1723
typeof(
BlockUIContainer
).IsAssignableFrom(commonAncestor.ParentType) ||
System\Windows\Documents\TextSchema.cs (5)
326
typeof(
BlockUIContainer
).IsAssignableFrom(elementType);
419
else if (typeof(
BlockUIContainer
).IsAssignableFrom(type))
421
return reduceElement ? typeof(Paragraph) : typeof(
BlockUIContainer
);
533
else if (typeof(
BlockUIContainer
).IsAssignableFrom(type))
868
else if (typeof(
BlockUIContainer
).IsAssignableFrom(parentType))
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
130
case 37: t = () => typeof(
BlockUIContainer
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4305
Type type = typeof(System.Windows.Documents.
BlockUIContainer
);
4307
this.GetXamlType(typeof(System.Windows.Documents.
BlockUIContainer
)), // DeclaringType
4314
SetDelegate = delegate (object target, object value) { ((System.Windows.Documents.
BlockUIContainer
)target).Child = (System.Windows.UIElement)value; },
4315
GetDelegate = delegate (object target) { return ((System.Windows.Documents.
BlockUIContainer
)target).Child; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2108
typeof(System.Windows.Documents.
BlockUIContainer
),
System\Windows\Markup\KnownTypes.cs (1)
5584
case KnownElements.BlockUIContainer: t = typeof(System.Windows.Documents.
BlockUIContainer
); break;