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