2 writes to IsReadOnly
PresentationFramework (2)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1004
_textEditor.
IsReadOnly
= !IsEditingEnabled;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1055
_textEditor.
IsReadOnly
= !IsEditingEnabled;
48 references to IsReadOnly
PresentationFramework (48)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
294
readOnly = tp.TextContainer.TextSelection.TextEditor.
IsReadOnly
;
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
241
!this.TextContainer.TextSelection.TextEditor.
IsReadOnly
);
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
2072
return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.
IsReadOnly
);
src\Framework\System\windows\Documents\TextEditor.cs (3)
267
value = value && !this.
IsReadOnly
&& this._IsEnabled;
1891
if (This.
IsReadOnly
)
1917
if (This.
IsReadOnly
)
src\Framework\System\windows\Documents\TextEditorCharacters.cs (10)
87
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
140
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection.Start is TextPointer))
185
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
205
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
228
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
257
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
276
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
304
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
346
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
439
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (2)
71
if (This.
IsReadOnly
)
465
if (!textEditor.
IsReadOnly
)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (5)
610
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
641
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
715
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
753
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
790
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (4)
241
if (!_textEditor.
IsReadOnly
)
265
if (!_textEditor.
IsReadOnly
&& //
292
if (!_textEditor.
IsReadOnly
)
657
if (!_textEditor.
IsReadOnly
&& _textEditor.TextView != null && _textEditor.TextView.RenderScope != null)
src\Framework\System\windows\Documents\TextEditorLists.cs (2)
85
if (This != null && This._IsEnabled && !This.
IsReadOnly
&& !This.Selection.IsTableCellRange)
128
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2002
if (This.
IsReadOnly
&& !This.IsReadOnlyCaretVisible)
src\Framework\System\windows\Documents\TextEditorTables.cs (1)
75
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
src\Framework\System\windows\Documents\TextEditorTyping.cs (14)
266
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(e.OriginalSource))
298
if (This == null || !This._IsEnabled || (This.
IsReadOnly
&& !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource))
345
if (This == null || !This._IsEnabled || (This.
IsReadOnly
&& !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource))
374
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(e.OriginalSource))
496
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
550
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(args.Source))
603
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(args.Source))
919
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
977
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
1052
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
1072
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
1293
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(e.OriginalSource))
1363
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.UiScope.IsKeyboardFocused)
1394
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.UiScope.IsKeyboardFocused)
src\Framework\System\windows\Documents\TextSelection.cs (2)
1968
if (!_textEditor.
IsReadOnly
&& ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect))
2136
bool caretVisible = this.IsEmpty && (!_textEditor.
IsReadOnly
|| _textEditor.IsReadOnlyCaretVisible);
src\Framework\System\Windows\Documents\TextStore.cs (1)
3970
return ((bool)this.UiScope.GetValue(TextEditor.IsReadOnlyProperty) || TextEditor.
IsReadOnly
);