5 implementations of GetAdjacentElement
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
223object ITextPointer.GetAdjacentElement(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
113object ITextPointer.GetAdjacentElement(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
143object ITextPointer.GetAdjacentElement(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
107object ITextPointer.GetAdjacentElement(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2404object ITextPointer.GetAdjacentElement(LogicalDirection direction)
34 references to GetAdjacentElement
PresentationFramework (34)
MS\Internal\Documents\TextContainerHelper.cs (5)
324element = start.GetAdjacentElement(LogicalDirection.Forward); 345element = start.GetAdjacentElement(LogicalDirection.Forward); 406object element = position.GetAdjacentElement(LogicalDirection.Forward); 444element = position.GetAdjacentElement(LogicalDirection.Forward); 460element = position.GetAdjacentElement(LogicalDirection.Backward);
System\Windows\Controls\PasswordTextContainer.cs (1)
250return ((ITextPointer)position.Handle0).GetAdjacentElement(direction);
System\Windows\Controls\TextAdaptor.cs (3)
276FrameworkContentElement element = pointer.GetAdjacentElement(LogicalDirection.Backward) as FrameworkContentElement; 618if (childElement == position.GetAdjacentElement(LogicalDirection.Forward)) 628if (childElement == position.GetAdjacentElement(LogicalDirection.Forward))
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
133return ((ITextPointer)position.Handle0).GetAdjacentElement(direction);
System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
110/// <see cref="ITextPointer.GetAdjacentElement"/> 678/// <see cref="ITextPointer.GetAdjacentElement"/> 923return tp.ChildPointer.GetAdjacentElement(direction);
System\Windows\Documents\FixedElement.cs (2)
274root.AddChild(pos.GetAdjacentElement(LogicalDirection.Forward)); 278object obj = pos.GetAdjacentElement(LogicalDirection.Forward);
System\Windows\Documents\FixedTextContainer.cs (1)
118return ((ITextPointer)position.Handle0).GetAdjacentElement(direction);
System\Windows\Documents\FixedTextPointer.cs (1)
140/// <see cref="ITextPointer.GetAdjacentElement"/>
System\Windows\Documents\NullTextContainer.cs (1)
118return ((ITextPointer)position.Handle0).GetAdjacentElement(direction);
System\Windows\Documents\NullTextNavigator.cs (1)
104/// <see cref="ITextPointer.GetAdjacentElement"/>
System\windows\Documents\TextEditorContextMenu.cs (1)
400while (position.GetAdjacentElement(LogicalDirection.Forward) is Inline)
System\windows\Documents\TextEditorMouse.cs (1)
751return mouseMovePosition.GetAdjacentElement(mouseMovePosition.LogicalDirection) as UIElement;
System\Windows\Documents\TextRangeBase.cs (4)
796List list = (List)navigator.GetAdjacentElement(LogicalDirection.Forward); 827ListItem listItem = (ListItem)navigator.GetAdjacentElement(LogicalDirection.Forward); 859object element = navigator.GetAdjacentElement(LogicalDirection.Forward); 1634return start.GetAdjacentElement(LogicalDirection.Forward) as UIElement;
System\Windows\Documents\TextRangeSerialization.cs (7)
218TextElement nextElement = (TextElement)textReader.GetAdjacentElement(LogicalDirection.Forward); 265if (ignoreWriteHyperlinkEnd && (textReader.GetAdjacentElement(LogicalDirection.Forward) is Hyperlink)) 317object embeddedObject = textReader.GetAdjacentElement(LogicalDirection.Forward); 546InlineUIContainer inlineUIContainer = textReader.GetAdjacentElement(LogicalDirection.Backward) as InlineUIContainer; 547BlockUIContainer blockUIContainer = textReader.GetAdjacentElement(LogicalDirection.Backward) as BlockUIContainer; 1880Hyperlink hyperlink = (Hyperlink)textReader.GetAdjacentElement(LogicalDirection.Forward); 1900InlineUIContainer inlineUIContainer = hyperlinkNavigation.GetAdjacentElement(LogicalDirection.Forward) as InlineUIContainer;
System\Windows\Documents\TextStore.cs (2)
2571char ch = (navigator.GetAdjacentElement(LogicalDirection.Forward) is TableCell) ? UnsafeNativeMethods.TS_CHAR_REGION : '\n'; 3466TextElement element = start.GetAdjacentElement(LogicalDirection.Forward) as TextElement;