3 instantiations of BlockUIContainer
PresentationFramework (3)
System\Windows\Documents\TextRange.cs (1)
1598BlockUIContainer blockUIContainer = new BlockUIContainer(embeddedElement);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2063bamlType.DefaultConstructor = delegate() { return new System.Windows.Documents.BlockUIContainer(); };
System\Windows\Markup\KnownTypes.cs (1)
1141case KnownElements.BlockUIContainer: o = new System.Windows.Documents.BlockUIContainer(); break;
75 references to BlockUIContainer
PresentationFramework (75)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1003typeof(BlockUIContainer).IsAssignableFrom(elementType)) 1018typeof(BlockUIContainer).IsAssignableFrom(elementType))
MS\Internal\Documents\TextDocumentView.cs (7)
864BlockUIContainer blockUIContainer = paragraph.Element as BlockUIContainer; 2399BlockUIContainer blockUIContainer = paragraph.Element as BlockUIContainer; 2900BlockUIContainer blockUIContainer = paragraphs[paragraphIndex].Element as BlockUIContainer; 3513Invariant.Assert(textElement is BlockUIContainer, "Expecting BlockUIContainer");
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1074else if (element is BlockUIContainer)
MS\Internal\PtsHost\PtsHost.cs (2)
2528if (((BlockUIContainer)paraClient.Paragraph.Element).Child != null) 2531UIElement uiElement = ((BlockUIContainer)paraClient.Paragraph.Element).Child;
MS\Internal\PtsHost\UIElementParaClient.cs (4)
146if (startPosition.CompareTo(((BlockUIContainer)Paragraph.Element).ContentEnd) < 0 && 147endPosition.CompareTo(((BlockUIContainer)Paragraph.Element).ContentStart) > 0) 181BlockUIContainer elementOwner = (BlockUIContainer)Paragraph.Element;
MS\Internal\PtsHost\UIElementParagraph.cs (8)
188Invariant.Assert(Element is BlockUIContainer); 211if (((BlockUIContainer)Element).Child != null) 279Invariant.Assert(Element is BlockUIContainer); 298if (((BlockUIContainer)Element).Child != null) 402Figure figure = (Figure) ((BlockUIContainer)Element).Parent; 453_uiElementIsland = new UIElementIsland(((BlockUIContainer)Element).Child); 520Figure figure = (Figure)((BlockUIContainer)Element).Parent; 540DependencyObject parent = ((BlockUIContainer)Element).Parent;
System\Windows\Controls\TextAdaptor.cs (1)
608if (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)
252if (paragraphOrBlockUIContainer is BlockUIContainer) 307if (paragraphOrBlockUIContainer is BlockUIContainer)
System\windows\Documents\TextEditorSelection.cs (1)
123if (!typeof(BlockUIContainer).IsAssignableFrom(position.ParentType))
System\windows\Documents\TextEditorTyping.cs (4)
763paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer 772paragraphOrBlockUIContainerToDelete is BlockUIContainer && paragraphOrBlockUIContainerToDelete.IsEmpty) // empty BlockUIContainer 888(position1.Parent is BlockUIContainer || position2.Parent is BlockUIContainer) &&
System\Windows\Documents\TextElement.cs (3)
831BlockUIContainer blockContainer = this as BlockUIContainer; 836throw new ArgumentException(SR.Format(SR.TextSchema_ThisBlockUIContainerHasAChildUIElementAlready, this.GetType().Name, ((BlockUIContainer)this).Child.GetType().Name, value.GetType().Name));
System\Windows\Documents\TextPointer.cs (3)
512/// is positioned within <see cref="InlineUIContainer"/> or <see cref="BlockUIContainer"/> 807/// <see cref="InlineUIContainer"/> or <see cref="BlockUIContainer"/>.</para> 1673return (parentBlock is Paragraph) || (parentBlock is BlockUIContainer) ? parentBlock : null;
System\Windows\Documents\TextPointerBase.cs (4)
266return (typeof(BlockUIContainer).IsAssignableFrom(position.ParentType)); 339if (elementType == typeof(InlineUIContainer) || elementType == typeof(BlockUIContainer)) 345else if (navigator.ParentType == typeof(InlineUIContainer) || navigator.ParentType == typeof(BlockUIContainer)) 360if (!(elementType == typeof(InlineUIContainer)) && !(elementType == typeof(BlockUIContainer)))
System\Windows\Documents\TextRange.cs (1)
1598BlockUIContainer blockUIContainer = new BlockUIContainer(embeddedElement);
System\Windows\Documents\TextRangeBase.cs (1)
691typeof(BlockUIContainer).IsAssignableFrom(elementType))
System\Windows\Documents\TextRangeEdit.cs (8)
878if (block is BlockUIContainer) 880UIElement embeddedElement = ((BlockUIContainer)block).Child; 1036if (block is Paragraph || block is BlockUIContainer || block is List) 1495if (startPosition.Parent is BlockUIContainer && ((BlockUIContainer)startPosition.Parent).IsEmpty) 1497((BlockUIContainer)startPosition.Parent).Reposition(null, null); 1517if (first is BlockUIContainer) 1531if (second is BlockUIContainer)
System\Windows\Documents\TextRangeEditLists.cs (1)
107if (previousBlock is Paragraph || previousBlock is BlockUIContainer)
System\Windows\Documents\TextRangeEditTables.cs (2)
747BlockUIContainer blockUIContainer = (BlockUIContainer)position.Parent;
System\Windows\Documents\TextRangeSerialization.cs (7)
548if (elementTypeStandardized == typeof(InlineUIContainer) || elementTypeStandardized == typeof(BlockUIContainer)) 553BlockUIContainer blockUIContainer = textReader.GetAdjacentElement(LogicalDirection.Backward) as BlockUIContainer; 1234if (uiContainer is BlockUIContainer) 1236embeddedElement = ((BlockUIContainer)uiContainer).Child as FrameworkElement; 1239((BlockUIContainer)uiContainer).Child = null; 1730typeof(BlockUIContainer).IsAssignableFrom(commonAncestor.ParentType) ||
System\Windows\Documents\TextSchema.cs (5)
328typeof(BlockUIContainer).IsAssignableFrom(elementType); 421else if (typeof(BlockUIContainer).IsAssignableFrom(type)) 423return reduceElement ? typeof(Paragraph) : typeof(BlockUIContainer); 535else if (typeof(BlockUIContainer).IsAssignableFrom(type)) 875else if (typeof(BlockUIContainer).IsAssignableFrom(parentType))
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
133case 37: t = () => typeof(BlockUIContainer); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4094Type type = typeof(System.Windows.Documents.BlockUIContainer); 4096this.GetXamlType(typeof(System.Windows.Documents.BlockUIContainer)), // DeclaringType 4102bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Documents.BlockUIContainer)target).Child = (System.Windows.UIElement)value; }; 4103bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Documents.BlockUIContainer)target).Child; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2061typeof(System.Windows.Documents.BlockUIContainer),
System\Windows\Markup\KnownTypes.cs (1)
5591case KnownElements.BlockUIContainer: t = typeof(System.Windows.Documents.BlockUIContainer); break;