5 implementations of HasValidLayout
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
626
bool ITextPointer.
HasValidLayout
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
352
bool ITextPointer.
HasValidLayout
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
573
bool ITextPointer.
HasValidLayout
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
435
bool ITextPointer.
HasValidLayout
src\Framework\System\Windows\Documents\TextPointer.cs (1)
3666
bool ITextPointer.
HasValidLayout
20 references to HasValidLayout
PresentationFramework (20)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
2651
if (tp != null && tp.
HasValidLayout
)
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
1498
positionRequest.Succeeded = positionRequest.Position.
HasValidLayout
;
src\Framework\MS\Internal\Documents\TextParagraphView.cs (4)
83
Invariant.Assert(position == null || position.
HasValidLayout
);
206
Invariant.Assert(positionOut == null || positionOut.
HasValidLayout
);
247
Invariant.Assert(positionOut == null || positionOut.
HasValidLayout
);
270
Invariant.Assert(positionOut == null || positionOut.
HasValidLayout
);
src\Framework\System\windows\Documents\CaretElement.cs (1)
448
if (!_textEditor.Selection.MovingPosition.
HasValidLayout
&& _textEditor.TextView != null && _textEditor.TextView.IsValid)
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
497
if (end.
HasValidLayout
)
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
367
Invariant.Assert(((ITextPointer)this).
HasValidLayout
);
src\Framework\System\Windows\Documents\FixedTextPointer.cs (2)
571
/// <see cref="ITextPointer.
HasValidLayout
"/>
590
Invariant.Assert(((ITextPointer)this).
HasValidLayout
);
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
865
if (!_editor.Selection.End.
HasValidLayout
)
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
433
/// <see cref="ITextPointer.
HasValidLayout
"/>
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
209
if (position != null && position.CreatePointer(direction).
HasValidLayout
)
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
676
position.
HasValidLayout
&&
src\Framework\System\Windows\Documents\TextPointerBase.cs (2)
691
if (!position.
HasValidLayout
)
1341
if (position.
HasValidLayout
)
src\Framework\System\windows\Documents\TextSelection.cs (1)
2132
if (caretPosition.
HasValidLayout
)
src\Framework\System\Windows\Documents\TextStore.cs (2)
3087
if (!start.
HasValidLayout
|| !end.
HasValidLayout
)