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