44 references to EmbeddedElement
PresentationFramework (44)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1037else if (nextContext == TextPointerContext.Text || nextContext == TextPointerContext.EmbeddedElement)
MS\Internal\Documents\HostedElements.cs (2)
112_currentPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement) 190case TextPointerContext.EmbeddedElement:
MS\Internal\Documents\TextBoxLine.cs (1)
93case TextPointerContext.EmbeddedElement:
MS\Internal\Documents\TextContainerHelper.cs (1)
345else if (start.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement)
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1094case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
965case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\Line.cs (1)
172case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\LineBase.cs (1)
310Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
MS\Internal\PtsHost\OptimalTextSource.cs (1)
120case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\TextParaClient.cs (2)
1703if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement)) 1797if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement))
MS\Internal\Text\ComplexLine.cs (2)
61case TextPointerContext.EmbeddedElement: 527Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
System\Windows\Controls\TextAdaptor.cs (1)
629else if (context == TextPointerContext.EmbeddedElement)
System\Windows\Controls\TextBlock.cs (1)
3671case TextPointerContext.EmbeddedElement:
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
1055case TextPointerContext.EmbeddedElement:
System\Windows\Documents\FixedElement.cs (1)
276else if (tpc == TextPointerContext.EmbeddedElement)
System\Windows\Documents\FixedTextPointer.cs (1)
154if (!(tpc == TextPointerContext.EmbeddedElement || tpc == TextPointerContext.ElementStart || tpc == TextPointerContext.ElementEnd))
System\Windows\Documents\FixedTextView.cs (2)
1115if (symbolType != TextPointerContext.Text && symbolType != TextPointerContext.EmbeddedElement) 1135Debug.Assert(symbolType == TextPointerContext.Text || symbolType == TextPointerContext.EmbeddedElement);
System\Windows\Documents\FlowPosition.cs (1)
777return TextPointerContext.EmbeddedElement;
System\Windows\Documents\Highlights.cs (1)
199case TextPointerContext.EmbeddedElement:
System\Windows\Documents\ImmComposition.cs (2)
1430case TextPointerContext.EmbeddedElement: 1481case TextPointerContext.EmbeddedElement:
System\Windows\Documents\Paragraph.cs (1)
255symbolType == TextPointerContext.EmbeddedElement ||
System\Windows\Documents\RangeContentEnumerator.cs (2)
125case TextPointerContext.EmbeddedElement: 193case TextPointerContext.EmbeddedElement:
System\Windows\Documents\Speller.cs (1)
1760case TextPointerContext.EmbeddedElement:
System\windows\Documents\TextEditorMouse.cs (1)
736if (!(mouseMovePosition.GetPointerContext(mouseMovePosition.LogicalDirection) == TextPointerContext.EmbeddedElement))
System\windows\Documents\TextEditorSpelling.cs (1)
285case TextPointerContext.EmbeddedElement:
System\Windows\Documents\TextFindEngine.cs (1)
738case TextPointerContext.EmbeddedElement:
System\Windows\Documents\TextPointer.cs (1)
511/// <para>Returns <see cref="TextPointerContext.EmbeddedElement"/> is the TextPointer
System\Windows\Documents\TextPointerBase.cs (1)
603else if (context == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextRangeBase.cs (3)
710case TextPointerContext.EmbeddedElement : 1626if (context == TextPointerContext.EmbeddedElement) 1635if (context == TextPointerContext.EmbeddedElement && start.GetOffsetToPosition(end) == 1)
System\Windows\Documents\TextRangeEdit.cs (1)
1621if (pointerContext == TextPointerContext.Text || pointerContext == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextRangeSerialization.cs (1)
322case TextPointerContext.EmbeddedElement:
System\windows\Documents\TextSelection.cs (1)
1954if (cursorPosition.GetPointerContext(cursorPosition.LogicalDirection) == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextStore.cs (3)
434case TextPointerContext.EmbeddedElement: 2531Invariant.Assert(navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement); 3208case TextPointerContext.EmbeddedElement:
System\Windows\Documents\TextTreeObjectNode.cs (1)
75return TextPointerContext.EmbeddedElement;