44 references to EmbeddedElement
PresentationFramework (44)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1030else if (nextContext == TextPointerContext.Text || nextContext == TextPointerContext.EmbeddedElement)
MS\Internal\Documents\HostedElements.cs (2)
102_currentPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement) 179case TextPointerContext.EmbeddedElement:
MS\Internal\Documents\TextBoxLine.cs (1)
86case TextPointerContext.EmbeddedElement:
MS\Internal\Documents\TextContainerHelper.cs (1)
342else if (start.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement)
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1074case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
957case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\Line.cs (1)
158case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\LineBase.cs (1)
300Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
MS\Internal\PtsHost\OptimalTextSource.cs (1)
105case TextPointerContext.EmbeddedElement:
MS\Internal\PtsHost\TextParaClient.cs (2)
1697if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement)) 1791if (orientation == LogicalDirection.Backward && originalDcp > 0 && (context == TextPointerContext.Text || context == TextPointerContext.EmbeddedElement))
MS\Internal\Text\ComplexLine.cs (2)
56case TextPointerContext.EmbeddedElement: 522Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
System\Windows\Controls\TextAdaptor.cs (1)
626else if (context == TextPointerContext.EmbeddedElement)
System\Windows\Controls\TextBlock.cs (1)
3661case TextPointerContext.EmbeddedElement:
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
1046case TextPointerContext.EmbeddedElement:
System\Windows\Documents\FixedElement.cs (1)
272else if (tpc == TextPointerContext.EmbeddedElement)
System\Windows\Documents\FixedTextPointer.cs (1)
147if (!(tpc == TextPointerContext.EmbeddedElement || tpc == TextPointerContext.ElementStart || tpc == TextPointerContext.ElementEnd))
System\Windows\Documents\FixedTextView.cs (2)
1102if (symbolType != TextPointerContext.Text && symbolType != TextPointerContext.EmbeddedElement) 1122Debug.Assert(symbolType == TextPointerContext.Text || symbolType == TextPointerContext.EmbeddedElement);
System\Windows\Documents\FlowPosition.cs (1)
773return TextPointerContext.EmbeddedElement;
System\Windows\Documents\Highlights.cs (1)
198case TextPointerContext.EmbeddedElement:
System\Windows\Documents\ImmComposition.cs (2)
1409case TextPointerContext.EmbeddedElement: 1460case TextPointerContext.EmbeddedElement:
System\Windows\Documents\Paragraph.cs (1)
255symbolType == TextPointerContext.EmbeddedElement ||
System\Windows\Documents\RangeContentEnumerator.cs (2)
115case TextPointerContext.EmbeddedElement: 183case TextPointerContext.EmbeddedElement:
System\Windows\Documents\Speller.cs (1)
1731case TextPointerContext.EmbeddedElement:
System\windows\Documents\TextEditorMouse.cs (1)
722if (!(mouseMovePosition.GetPointerContext(mouseMovePosition.LogicalDirection) == TextPointerContext.EmbeddedElement))
System\windows\Documents\TextEditorSpelling.cs (1)
284case TextPointerContext.EmbeddedElement:
System\Windows\Documents\TextFindEngine.cs (1)
729case TextPointerContext.EmbeddedElement:
System\Windows\Documents\TextPointer.cs (1)
506/// <para>Returns <see cref="TextPointerContext.EmbeddedElement"/> is the TextPointer
System\Windows\Documents\TextPointerBase.cs (1)
601else if (context == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextRangeBase.cs (3)
707case TextPointerContext.EmbeddedElement : 1623if (context == TextPointerContext.EmbeddedElement) 1632if (context == TextPointerContext.EmbeddedElement && start.GetOffsetToPosition(end) == 1)
System\Windows\Documents\TextRangeEdit.cs (1)
1619if (pointerContext == TextPointerContext.Text || pointerContext == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextRangeSerialization.cs (1)
316case TextPointerContext.EmbeddedElement:
System\windows\Documents\TextSelection.cs (1)
1951if (cursorPosition.GetPointerContext(cursorPosition.LogicalDirection) == TextPointerContext.EmbeddedElement)
System\Windows\Documents\TextStore.cs (3)
423case TextPointerContext.EmbeddedElement: 2511Invariant.Assert(navigator.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement); 3190case TextPointerContext.EmbeddedElement:
System\Windows\Documents\TextTreeObjectNode.cs (1)
74return TextPointerContext.EmbeddedElement;