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