3 instantiations of BlockUIContainer
PresentationFramework (3)
src\Framework\System\Windows\Documents\TextRange.cs (1)
1595
BlockUIContainer blockUIContainer = new
BlockUIContainer
(embeddedElement);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2059
bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.
BlockUIContainer
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1142
case KnownElements.BlockUIContainer: o = new System.Windows.Documents.
BlockUIContainer
(); break;
75 references to BlockUIContainer
PresentationFramework (75)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1020
typeof(
BlockUIContainer
).IsAssignableFrom(elementType))
1036
typeof(
BlockUIContainer
).IsAssignableFrom(elementType))
src\Framework\MS\Internal\Documents\TextDocumentView.cs (7)
872
BlockUIContainer
blockUIContainer = paragraph.Element as
BlockUIContainer
;
2407
BlockUIContainer
blockUIContainer = paragraph.Element as
BlockUIContainer
;
2909
BlockUIContainer
blockUIContainer = paragraphs[paragraphIndex].Element as
BlockUIContainer
;
3522
Invariant.Assert(textElement is
BlockUIContainer
, "Expecting BlockUIContainer");
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1100
else if (element is
BlockUIContainer
)
src\Framework\MS\Internal\PtsHost\PtsHost.cs (2)
2654
if (((
BlockUIContainer
)paraClient.Paragraph.Element).Child != null)
2657
UIElement uiElement = ((
BlockUIContainer
)paraClient.Paragraph.Element).Child;
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (4)
153
if (startPosition.CompareTo(((
BlockUIContainer
)Paragraph.Element).ContentEnd) < 0 &&
154
endPosition.CompareTo(((
BlockUIContainer
)Paragraph.Element).ContentStart) > 0)
188
BlockUIContainer
elementOwner = (
BlockUIContainer
)Paragraph.Element;
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (8)
187
Invariant.Assert(Element is
BlockUIContainer
);
210
if (((
BlockUIContainer
)Element).Child != null)
278
Invariant.Assert(Element is
BlockUIContainer
);
297
if (((
BlockUIContainer
)Element).Child != null)
401
Figure figure = (Figure) ((
BlockUIContainer
)Element).Parent;
452
_uiElementIsland = new UIElementIsland(((
BlockUIContainer
)Element).Child);
519
Figure figure = (Figure)((
BlockUIContainer
)Element).Parent;
539
DependencyObject parent = ((
BlockUIContainer
)Element).Parent;
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
592
if (parent is InlineUIContainer || parent is
BlockUIContainer
)
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
927
if (parentOfEmbeddedElement is
BlockUIContainer
|| parentOfEmbeddedElement is InlineUIContainer)
src\Framework\System\windows\Documents\TextEditorLists.cs (2)
254
if (paragraphOrBlockUIContainer is
BlockUIContainer
)
309
if (paragraphOrBlockUIContainer is
BlockUIContainer
)
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
131
if (!typeof(
BlockUIContainer
).IsAssignableFrom(position.ParentType))
src\Framework\System\windows\Documents\TextEditorTyping.cs (4)
780
paragraphOrBlockUIContainerToDelete is
BlockUIContainer
&& paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
789
paragraphOrBlockUIContainerToDelete is
BlockUIContainer
&& paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer
905
(position1.Parent is
BlockUIContainer
|| position2.Parent is
BlockUIContainer
) &&
src\Framework\System\Windows\Documents\TextElement.cs (3)
872
BlockUIContainer
blockContainer = this as
BlockUIContainer
;
877
throw new ArgumentException(SR.Get(SRID.TextSchema_ThisBlockUIContainerHasAChildUIElementAlready, this.GetType().Name, ((
BlockUIContainer
)this).Child.GetType().Name, value.GetType().Name));
src\Framework\System\Windows\Documents\TextPointer.cs (3)
523
/// is positioned within <see cref="InlineUIContainer"/> or <see cref="
BlockUIContainer
"/>
818
/// <see cref="InlineUIContainer"/> or <see cref="
BlockUIContainer
"/>.</para>
1687
return (parentBlock is Paragraph) || (parentBlock is
BlockUIContainer
) ? parentBlock : null;
src\Framework\System\Windows\Documents\TextPointerBase.cs (4)
268
return (typeof(
BlockUIContainer
).IsAssignableFrom(position.ParentType));
341
if (elementType == typeof(InlineUIContainer) || elementType == typeof(
BlockUIContainer
))
347
else if (navigator.ParentType == typeof(InlineUIContainer) || navigator.ParentType == typeof(
BlockUIContainer
))
362
if (!(elementType == typeof(InlineUIContainer)) && !(elementType == typeof(
BlockUIContainer
)))
src\Framework\System\Windows\Documents\TextRange.cs (1)
1595
BlockUIContainer
blockUIContainer = new BlockUIContainer(embeddedElement);
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
702
typeof(
BlockUIContainer
).IsAssignableFrom(elementType))
src\Framework\System\Windows\Documents\TextRangeEdit.cs (8)
880
if (block is
BlockUIContainer
)
882
UIElement embeddedElement = ((
BlockUIContainer
)block).Child;
1038
if (block is Paragraph || block is
BlockUIContainer
|| block is List)
1497
if (startPosition.Parent is
BlockUIContainer
&& ((
BlockUIContainer
)startPosition.Parent).IsEmpty)
1499
((
BlockUIContainer
)startPosition.Parent).Reposition(null, null);
1519
if (first is
BlockUIContainer
)
1533
if (second is
BlockUIContainer
)
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (1)
109
if (previousBlock is Paragraph || previousBlock is
BlockUIContainer
)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (2)
750
BlockUIContainer
blockUIContainer = (
BlockUIContainer
)position.Parent;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (7)
554
if (elementTypeStandardized == typeof(InlineUIContainer) || elementTypeStandardized == typeof(
BlockUIContainer
))
559
BlockUIContainer
blockUIContainer = textReader.GetAdjacentElement(LogicalDirection.Backward) as
BlockUIContainer
;
1258
if (uiContainer is
BlockUIContainer
)
1260
embeddedElement = ((
BlockUIContainer
)uiContainer).Child as FrameworkElement;
1263
((
BlockUIContainer
)uiContainer).Child = null;
1750
typeof(
BlockUIContainer
).IsAssignableFrom(commonAncestor.ParentType) ||
src\Framework\System\Windows\Documents\TextSchema.cs (5)
330
typeof(
BlockUIContainer
).IsAssignableFrom(elementType);
423
else if (typeof(
BlockUIContainer
).IsAssignableFrom(type))
425
return reduceElement ? typeof(Paragraph) : typeof(
BlockUIContainer
);
537
else if (typeof(
BlockUIContainer
).IsAssignableFrom(type))
877
else if (typeof(
BlockUIContainer
).IsAssignableFrom(parentType))
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
129
case 37: t = () => typeof(
BlockUIContainer
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4069
Type type = typeof(System.Windows.Documents.
BlockUIContainer
);
4071
this.GetXamlType(typeof(System.Windows.Documents.
BlockUIContainer
)), // DeclaringType
4077
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Documents.
BlockUIContainer
)target).Child = (System.Windows.UIElement)value; };
4078
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.
BlockUIContainer
)target).Child; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2057
typeof(System.Windows.Documents.
BlockUIContainer
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5581
case KnownElements.BlockUIContainer: t = typeof(System.Windows.Documents.
BlockUIContainer
); break;