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