44 references to EmbeddedElement
PresentationFramework (44)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1026else if (nextContext == TextPointerContext.Text || nextContext == TextPointerContext.EmbeddedElement)
MS\Internal\Documents\HostedElements.cs (2)
101_currentPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement) 178case TextPointerContext.EmbeddedElement:
MS\Internal\Documents\TextBoxLine.cs (1)
85case TextPointerContext.EmbeddedElement:
MS\Internal\Documents\TextContainerHelper.cs (1)
341else if (start.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement)
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1070case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
950case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\Line.cs (1)
154case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\LineBase.cs (1)
299Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
MS\Internal\PtsHost\OptimalTextSource.cs (1)
104case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\TextParaClient.cs (2)
1696if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement)) 1790if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement))
MS\Internal\Text\ComplexLine.cs (2)
55case TextPointerContext.EmbeddedElement: 518Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
System\Windows\Controls\TextAdaptor.cs (1)
619else if (context == TextPointerContext.EmbeddedElement)
System\Windows\Controls\TextBlock.cs (1)
3651case TextPointerContext.EmbeddedElement:
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
1045case TextPointerContext.EmbeddedElement:
System\Windows\Documents\FixedElement.cs (1)
271else if (tpc == TextPointerContext.EmbeddedElement)
System\Windows\Documents\FixedTextPointer.cs (1)
146if (!(tpc == TextPointerContext.EmbeddedElement || tpc == TextPointerContext.ElementStart || tpc == TextPointerContext.ElementEnd))
System\Windows\Documents\FixedTextView.cs (2)
1098if (symbolType != TextPointerContext.Text && symbolType != TextPointerContext.EmbeddedElement) 1118Debug.Assert(symbolType == TextPointerContext.Text || symbolType == TextPointerContext.EmbeddedElement);
System\Windows\Documents\FlowPosition.cs (1)
772return TextPointerContext.EmbeddedElement;
System\Windows\Documents\Highlights.cs (1)
197case TextPointerContext.EmbeddedElement:
System\Windows\Documents\ImmComposition.cs (2)
1408case TextPointerContext.EmbeddedElement: 1459case TextPointerContext.EmbeddedElement:
System\Windows\Documents\Paragraph.cs (1)
254symbolType == TextPointerContext.EmbeddedElement ||
System\Windows\Documents\RangeContentEnumerator.cs (2)
114case TextPointerContext.EmbeddedElement: 182case TextPointerContext.EmbeddedElement:
System\Windows\Documents\Speller.cs (1)
1727case TextPointerContext.EmbeddedElement:
System\windows\Documents\TextEditorMouse.cs (1)
718if (!(mouseMovePosition.GetPointerContext(mouseMovePosition.LogicalDirection) == TextPointerContext.EmbeddedElement))
System\windows\Documents\TextEditorSpelling.cs (1)
283case TextPointerContext.EmbeddedElement:
System\Windows\Documents\TextFindEngine.cs (1)
728case TextPointerContext.EmbeddedElement:
System\Windows\Documents\TextPointer.cs (1)
505/// <para>Returns <see cref="TextPointerContext.EmbeddedElement"/> is the TextPointer
System\Windows\Documents\TextPointerBase.cs (1)
600else if (context == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextRangeBase.cs (3)
706case TextPointerContext.EmbeddedElement : 1622if (context == TextPointerContext.EmbeddedElement) 1631if (context == TextPointerContext.EmbeddedElement && start.GetOffsetToPosition(end) == 1)
System\Windows\Documents\TextRangeEdit.cs (1)
1618if (pointerContext == TextPointerContext.Text || pointerContext == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextRangeSerialization.cs (1)
315case TextPointerContext.EmbeddedElement:
System\windows\Documents\TextSelection.cs (1)
1935if (cursorPosition.GetPointerContext(cursorPosition.LogicalDirection) == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextStore.cs (3)
422case TextPointerContext.EmbeddedElement: 2495Invariant.Assert(navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement); 3174case TextPointerContext.EmbeddedElement:
System\Windows\Documents\TextTreeObjectNode.cs (1)
73return TextPointerContext.EmbeddedElement;