2 writes to IsReadOnly
PresentationFramework (2)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
993
_textEditor.
IsReadOnly
= !IsEditingEnabled;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1038
_textEditor.
IsReadOnly
= !IsEditingEnabled;
48 references to IsReadOnly
PresentationFramework (48)
System\Windows\Controls\TextRangeAdaptor.cs (1)
284
readOnly = tp.TextContainer.TextSelection.TextEditor.
IsReadOnly
;
System\Windows\Documents\Hyperlink.cs (1)
233
!this.TextContainer.TextSelection.TextEditor.
IsReadOnly
);
System\Windows\Documents\ImmComposition.cs (1)
1874
return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.
IsReadOnly
);
System\windows\Documents\TextEditor.cs (3)
251
value = value && !this.
IsReadOnly
&& this._IsEnabled;
1840
if (This.
IsReadOnly
)
1866
if (This.
IsReadOnly
)
System\windows\Documents\TextEditorCharacters.cs (10)
69
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
122
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection.Start is TextPointer))
167
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
187
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
210
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
239
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
258
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
286
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
328
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
421
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
System\windows\Documents\TextEditorContextMenu.cs (2)
60
if (This.
IsReadOnly
)
437
if (!textEditor.
IsReadOnly
)
System\windows\Documents\TextEditorCopyPaste.cs (5)
482
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
506
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
573
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
603
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
640
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
System\windows\Documents\TextEditorDragDrop.cs (4)
213
if (!_textEditor.
IsReadOnly
)
236
if (!_textEditor.
IsReadOnly
&& //
263
if (!_textEditor.
IsReadOnly
)
628
if (!_textEditor.
IsReadOnly
&& _textEditor.TextView != null && _textEditor.TextView.RenderScope != null)
System\windows\Documents\TextEditorLists.cs (2)
67
if (This != null && This._IsEnabled && !This.
IsReadOnly
&& !This.Selection.IsTableCellRange)
110
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorSelection.cs (1)
1978
if (This.
IsReadOnly
&& !This.IsReadOnlyCaretVisible)
System\windows\Documents\TextEditorTables.cs (1)
56
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorTyping.cs (14)
253
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(e.OriginalSource))
285
if (This == null || !This._IsEnabled || (This.
IsReadOnly
&& !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource))
331
if (This == null || !This._IsEnabled || (This.
IsReadOnly
&& !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource))
360
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(e.OriginalSource))
471
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
525
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(args.Source))
578
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(args.Source))
893
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
951
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
1026
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
1046
if (This == null || !This._IsEnabled || This.
IsReadOnly
)
1267
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This._IsSourceInScope(e.OriginalSource))
1337
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.UiScope.IsKeyboardFocused)
1368
if (This == null || !This._IsEnabled || This.
IsReadOnly
|| !This.UiScope.IsKeyboardFocused)
System\windows\Documents\TextSelection.cs (2)
1957
if (!_textEditor.
IsReadOnly
&& ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect))
2125
bool caretVisible = this.IsEmpty && (!_textEditor.
IsReadOnly
|| _textEditor.IsReadOnlyCaretVisible);
System\Windows\Documents\TextStore.cs (1)
4142
return ((bool)this.UiScope.GetValue(TextEditor.IsReadOnlyProperty) || TextEditor.
IsReadOnly
);