5 implementations of GetAdjacentElement
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
227
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
121
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
150
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
112
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2409
object ITextPointer.
GetAdjacentElement
(LogicalDirection direction)
34 references to GetAdjacentElement
PresentationFramework (34)
MS\Internal\Documents\TextContainerHelper.cs (5)
327
element = start.
GetAdjacentElement
(LogicalDirection.Forward);
348
element = start.
GetAdjacentElement
(LogicalDirection.Forward);
409
object element = position.
GetAdjacentElement
(LogicalDirection.Forward);
447
element = position.
GetAdjacentElement
(LogicalDirection.Forward);
463
element = position.
GetAdjacentElement
(LogicalDirection.Backward);
System\Windows\Controls\PasswordTextContainer.cs (1)
253
return ((ITextPointer)position.Handle0).
GetAdjacentElement
(direction);
System\Windows\Controls\TextAdaptor.cs (3)
279
FrameworkContentElement element = pointer.
GetAdjacentElement
(LogicalDirection.Backward) as FrameworkContentElement;
621
if (childElement == position.
GetAdjacentElement
(LogicalDirection.Forward))
631
if (childElement == position.
GetAdjacentElement
(LogicalDirection.Forward))
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
149
return ((ITextPointer)position.Handle0).
GetAdjacentElement
(direction);
System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
118
/// <see cref="ITextPointer.
GetAdjacentElement
"/>
687
/// <see cref="ITextPointer.
GetAdjacentElement
"/>
932
return tp.ChildPointer.
GetAdjacentElement
(direction);
System\Windows\Documents\FixedElement.cs (2)
278
root.AddChild(pos.
GetAdjacentElement
(LogicalDirection.Forward));
282
object obj = pos.
GetAdjacentElement
(LogicalDirection.Forward);
System\Windows\Documents\FixedTextContainer.cs (1)
134
return ((ITextPointer)position.Handle0).
GetAdjacentElement
(direction);
System\Windows\Documents\FixedTextPointer.cs (1)
147
/// <see cref="ITextPointer.
GetAdjacentElement
"/>
System\Windows\Documents\NullTextContainer.cs (1)
122
return ((ITextPointer)position.Handle0).
GetAdjacentElement
(direction);
System\Windows\Documents\NullTextNavigator.cs (1)
109
/// <see cref="ITextPointer.
GetAdjacentElement
"/>
System\windows\Documents\TextEditorContextMenu.cs (1)
402
while (position.
GetAdjacentElement
(LogicalDirection.Forward) is Inline)
System\windows\Documents\TextEditorMouse.cs (1)
765
return mouseMovePosition.
GetAdjacentElement
(mouseMovePosition.LogicalDirection) as UIElement;
System\Windows\Documents\TextRangeBase.cs (4)
799
List list = (List)navigator.
GetAdjacentElement
(LogicalDirection.Forward);
830
ListItem listItem = (ListItem)navigator.
GetAdjacentElement
(LogicalDirection.Forward);
862
object element = navigator.
GetAdjacentElement
(LogicalDirection.Forward);
1637
return start.
GetAdjacentElement
(LogicalDirection.Forward) as UIElement;
System\Windows\Documents\TextRangeSerialization.cs (7)
224
TextElement nextElement = (TextElement)textReader.
GetAdjacentElement
(LogicalDirection.Forward);
271
if (ignoreWriteHyperlinkEnd && (textReader.
GetAdjacentElement
(LogicalDirection.Forward) is Hyperlink))
323
object embeddedObject = textReader.
GetAdjacentElement
(LogicalDirection.Forward);
552
InlineUIContainer inlineUIContainer = textReader.
GetAdjacentElement
(LogicalDirection.Backward) as InlineUIContainer;
553
BlockUIContainer blockUIContainer = textReader.
GetAdjacentElement
(LogicalDirection.Backward) as BlockUIContainer;
1886
Hyperlink hyperlink = (Hyperlink)textReader.
GetAdjacentElement
(LogicalDirection.Forward);
1906
InlineUIContainer inlineUIContainer = hyperlinkNavigation.
GetAdjacentElement
(LogicalDirection.Forward) as InlineUIContainer;
System\Windows\Documents\TextStore.cs (2)
2582
char ch = (navigator.
GetAdjacentElement
(LogicalDirection.Forward) is TableCell) ? UnsafeNativeMethods.TS_CHAR_REGION : '\n';
3475
TextElement element = start.
GetAdjacentElement
(LogicalDirection.Forward) as TextElement;