5 implementations of GetAdjacentElement
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
229object ITextPointer.GetAdjacentElement(LogicalDirection direction)
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
125object ITextPointer.GetAdjacentElement(LogicalDirection direction)
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
159object ITextPointer.GetAdjacentElement(LogicalDirection direction)
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
114object ITextPointer.GetAdjacentElement(LogicalDirection direction)
src\Framework\System\Windows\Documents\TextPointer.cs (1)
2429object ITextPointer.GetAdjacentElement(LogicalDirection direction)
34 references to GetAdjacentElement
PresentationFramework (34)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (5)
332element = start.GetAdjacentElement(LogicalDirection.Forward); 353element = start.GetAdjacentElement(LogicalDirection.Forward); 414object element = position.GetAdjacentElement(LogicalDirection.Forward); 452element = position.GetAdjacentElement(LogicalDirection.Forward); 468element = position.GetAdjacentElement(LogicalDirection.Backward);
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (1)
259return ((ITextPointer)position.Handle0).GetAdjacentElement(direction);
src\Framework\System\Windows\Controls\TextAdaptor.cs (3)
287FrameworkContentElement element = pointer.GetAdjacentElement(LogicalDirection.Backward) as FrameworkContentElement; 605if (childElement == position.GetAdjacentElement(LogicalDirection.Forward)) 615if (childElement == position.GetAdjacentElement(LogicalDirection.Forward))
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
153return ((ITextPointer)position.Handle0).GetAdjacentElement(direction);
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
122/// <see cref="ITextPointer.GetAdjacentElement"/> 694/// <see cref="ITextPointer.GetAdjacentElement"/> 949return tp.ChildPointer.GetAdjacentElement(direction);
src\Framework\System\Windows\Documents\FixedElement.cs (2)
283root.AddChild(pos.GetAdjacentElement(LogicalDirection.Forward)); 287object obj = pos.GetAdjacentElement(LogicalDirection.Forward);
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
138return ((ITextPointer)position.Handle0).GetAdjacentElement(direction);
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
156/// <see cref="ITextPointer.GetAdjacentElement"/>
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
125return ((ITextPointer)position.Handle0).GetAdjacentElement(direction);
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
111/// <see cref="ITextPointer.GetAdjacentElement"/>
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
424while (position.GetAdjacentElement(LogicalDirection.Forward) is Inline)
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
766return mouseMovePosition.GetAdjacentElement(mouseMovePosition.LogicalDirection) as UIElement;
src\Framework\System\Windows\Documents\TextRangeBase.cs (4)
810List list = (List)navigator.GetAdjacentElement(LogicalDirection.Forward); 841ListItem listItem = (ListItem)navigator.GetAdjacentElement(LogicalDirection.Forward); 873object element = navigator.GetAdjacentElement(LogicalDirection.Forward); 1665return start.GetAdjacentElement(LogicalDirection.Forward) as UIElement;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (7)
230TextElement nextElement = (TextElement)textReader.GetAdjacentElement(LogicalDirection.Forward); 277if (ignoreWriteHyperlinkEnd && (textReader.GetAdjacentElement(LogicalDirection.Forward) is Hyperlink)) 329object embeddedObject = textReader.GetAdjacentElement(LogicalDirection.Forward); 558InlineUIContainer inlineUIContainer = textReader.GetAdjacentElement(LogicalDirection.Backward) as InlineUIContainer; 559BlockUIContainer blockUIContainer = textReader.GetAdjacentElement(LogicalDirection.Backward) as BlockUIContainer; 1906Hyperlink hyperlink = (Hyperlink)textReader.GetAdjacentElement(LogicalDirection.Forward); 1926InlineUIContainer inlineUIContainer = hyperlinkNavigation.GetAdjacentElement(LogicalDirection.Forward) as InlineUIContainer;
src\Framework\System\Windows\Documents\TextStore.cs (2)
2437char ch = (navigator.GetAdjacentElement(LogicalDirection.Forward) is TableCell) ? UnsafeNativeMethods.TS_CHAR_REGION : '\n'; 3397TextElement element = start.GetAdjacentElement(LogicalDirection.Forward) as TextElement;