2 writes to IsReadOnly
PresentationFramework (2)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
996
_textEditor.
IsReadOnly
= !IsEditingEnabled;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1043
_textEditor.
IsReadOnly
= !IsEditingEnabled;
48 references to IsReadOnly
PresentationFramework (48)
System\Windows\Controls\TextRangeAdaptor.cs (1)
286
readOnly = tp.TextContainer.TextSelection.TextEditor.
IsReadOnly
;
System\Windows\Documents\Hyperlink.cs (1)
239
!this.TextContainer.TextSelection.TextEditor.
IsReadOnly
);
System\Windows\Documents\ImmComposition.cs (1)
1882
return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.
IsReadOnly
);
System\windows\Documents\TextEditor.cs (3)
257
value = value && !this.
IsReadOnly
&& this._IsEnabled;
1846
if (This.
IsReadOnly
)
1872
if (This.
IsReadOnly
)
System\windows\Documents\TextEditorCharacters.cs (10)
85
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
138
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection.Start is TextPointer))
183
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
203
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
226
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
255
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
274
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
302
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
344
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
437
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
System\windows\Documents\TextEditorContextMenu.cs (2)
62
if (This.
IsReadOnly
)
439
if (!textEditor.
IsReadOnly
)
System\windows\Documents\TextEditorCopyPaste.cs (5)
495
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
519
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
586
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
616
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
653
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
System\windows\Documents\TextEditorDragDrop.cs (4)
230
if (!_textEditor.
IsReadOnly
)
253
if (!_textEditor.
IsReadOnly
&& //
280
if (!_textEditor.
IsReadOnly
)
645
if (!_textEditor.
IsReadOnly
&& _textEditor.TextView != null && _textEditor.TextView.RenderScope != null)
System\windows\Documents\TextEditorLists.cs (2)
83
if (This != null && This._IsEnabled && !This.
IsReadOnly
&& !This.Selection.IsTableCellRange)
126
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorSelection.cs (1)
1993
if (This.
IsReadOnly
&& !This.IsReadOnlyCaretVisible)
System\windows\Documents\TextEditorTables.cs (1)
73
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorTyping.cs (14)
262
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(e.OriginalSource))
294
if (This == null || !This._IsEnabled || (This.
IsReadOnly
&& !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource))
340
if (This == null || !This._IsEnabled || (This.
IsReadOnly
&& !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource))
369
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(e.OriginalSource))
480
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
534
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(args.Source))
587
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(args.Source))
902
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
960
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
1035
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
1055
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
1276
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(e.OriginalSource))
1346
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.UiScope.IsKeyboardFocused)
1377
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.UiScope.IsKeyboardFocused)
System\windows\Documents\TextSelection.cs (2)
1960
if (!_textEditor.
IsReadOnly
&& ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect))
2128
bool caretVisible = this.IsEmpty && (!_textEditor.
IsReadOnly
|| _textEditor.IsReadOnlyCaretVisible);
System\Windows\Documents\TextStore.cs (1)
4162
return ((bool)this.UiScope.GetValue(TextEditor.IsReadOnlyProperty) || TextEditor.
IsReadOnly
);