5 implementations of GetAdjacentElement
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
222
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
112
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
142
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
106
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2403
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
34 references to GetAdjacentElement
PresentationFramework (34)
MS\Internal\Documents\TextContainerHelper.cs (5)
323
element = start.
GetAdjacentElement
(LogicalDirection.Forward);
344
element = start.
GetAdjacentElement
(LogicalDirection.Forward);
405
object element = position.
GetAdjacentElement
(LogicalDirection.Forward);
443
element = position.
GetAdjacentElement
(LogicalDirection.Forward);
459
element = position.
GetAdjacentElement
(LogicalDirection.Backward);
System\Windows\Controls\PasswordTextContainer.cs (1)
249
return ((ITextPointer)position.Handle0).
GetAdjacentElement
(direction);
System\Windows\Controls\TextAdaptor.cs (3)
272
FrameworkContentElement element = pointer.
GetAdjacentElement
(LogicalDirection.Backward) as FrameworkContentElement;
611
if (childElement == position.
GetAdjacentElement
(LogicalDirection.Forward))
621
if (childElement == position.
GetAdjacentElement
(LogicalDirection.Forward))
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
132
return ((ITextPointer)position.Handle0).
GetAdjacentElement
(direction);
System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
109
/// <see cref="ITextPointer.
GetAdjacentElement
"/>
677
/// <see cref="ITextPointer.
GetAdjacentElement
"/>
922
return tp.ChildPointer.
GetAdjacentElement
(direction);
System\Windows\Documents\FixedElement.cs (2)
273
root.AddChild(pos.
GetAdjacentElement
(LogicalDirection.Forward));
277
object obj = pos.
GetAdjacentElement
(LogicalDirection.Forward);
System\Windows\Documents\FixedTextContainer.cs (1)
117
return ((ITextPointer)position.Handle0).
GetAdjacentElement
(direction);
System\Windows\Documents\FixedTextPointer.cs (1)
139
/// <see cref="ITextPointer.
GetAdjacentElement
"/>
System\Windows\Documents\NullTextContainer.cs (1)
117
return ((ITextPointer)position.Handle0).
GetAdjacentElement
(direction);
System\Windows\Documents\NullTextNavigator.cs (1)
103
/// <see cref="ITextPointer.
GetAdjacentElement
"/>
System\windows\Documents\TextEditorContextMenu.cs (1)
399
while (position.
GetAdjacentElement
(LogicalDirection.Forward) is Inline)
System\windows\Documents\TextEditorMouse.cs (1)
747
return mouseMovePosition.
GetAdjacentElement
(mouseMovePosition.LogicalDirection) as UIElement;
System\Windows\Documents\TextRangeBase.cs (4)
795
List list = (List)navigator.
GetAdjacentElement
(LogicalDirection.Forward);
826
ListItem listItem = (ListItem)navigator.
GetAdjacentElement
(LogicalDirection.Forward);
858
object element = navigator.
GetAdjacentElement
(LogicalDirection.Forward);
1633
return start.
GetAdjacentElement
(LogicalDirection.Forward) as UIElement;
System\Windows\Documents\TextRangeSerialization.cs (7)
217
TextElement nextElement = (TextElement)textReader.
GetAdjacentElement
(LogicalDirection.Forward);
264
if (ignoreWriteHyperlinkEnd && (textReader.
GetAdjacentElement
(LogicalDirection.Forward) is Hyperlink))
316
object embeddedObject = textReader.
GetAdjacentElement
(LogicalDirection.Forward);
545
InlineUIContainer inlineUIContainer = textReader.
GetAdjacentElement
(LogicalDirection.Backward) as InlineUIContainer;
546
BlockUIContainer blockUIContainer = textReader.
GetAdjacentElement
(LogicalDirection.Backward) as BlockUIContainer;
1879
Hyperlink hyperlink = (Hyperlink)textReader.
GetAdjacentElement
(LogicalDirection.Forward);
1899
InlineUIContainer inlineUIContainer = hyperlinkNavigation.
GetAdjacentElement
(LogicalDirection.Forward) as InlineUIContainer;
System\Windows\Documents\TextStore.cs (2)
2564
char ch = (navigator.
GetAdjacentElement
(LogicalDirection.Forward) is TableCell) ? UnsafeNativeMethods.TS_CHAR_REGION : '\n';
3456
TextElement element = start.
GetAdjacentElement
(LogicalDirection.Forward) as TextElement;