2 writes to IsReadOnly
PresentationFramework (2)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
990IsReadOnly = !IsEditingEnabled,
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1019IsReadOnly = !IsEditingEnabled,
48 references to IsReadOnly
PresentationFramework (48)
System\Windows\Controls\TextRangeAdaptor.cs (1)
284readOnly = tp.TextContainer.TextSelection.TextEditor.IsReadOnly;
System\Windows\Documents\Hyperlink.cs (1)
233!this.TextContainer.TextSelection.TextEditor.IsReadOnly);
System\Windows\Documents\ImmComposition.cs (1)
1861return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly);
System\windows\Documents\TextEditor.cs (3)
246value = value && !this.IsReadOnly && this._IsEnabled; 1816if (This.IsReadOnly) 1842if (This.IsReadOnly)
System\windows\Documents\TextEditorCharacters.cs (10)
69if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 122if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection.Start is TextPointer)) 167if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 187if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 210if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 239if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 258if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 286if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 328if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 421if (This == null || !This._IsEnabled || This.IsReadOnly)
System\windows\Documents\TextEditorContextMenu.cs (2)
60if (This.IsReadOnly) 437if (!textEditor.IsReadOnly)
System\windows\Documents\TextEditorCopyPaste.cs (5)
484if (This == null || !This._IsEnabled || This.IsReadOnly) 508if (This == null || !This._IsEnabled || This.IsReadOnly) 575if (This == null || !This._IsEnabled || This.IsReadOnly) 605if (This == null || !This._IsEnabled || This.IsReadOnly) 642if (This == null || !This._IsEnabled || This.IsReadOnly)
System\windows\Documents\TextEditorDragDrop.cs (4)
213if (!_textEditor.IsReadOnly) 236if (!_textEditor.IsReadOnly && // 263if (!_textEditor.IsReadOnly) 628if (!_textEditor.IsReadOnly && _textEditor.TextView != null && _textEditor.TextView.RenderScope != null)
System\windows\Documents\TextEditorLists.cs (2)
67if (This != null && This._IsEnabled && !This.IsReadOnly && !This.Selection.IsTableCellRange) 110if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorSelection.cs (1)
1978if (This.IsReadOnly && !This.IsReadOnlyCaretVisible)
System\windows\Documents\TextEditorTables.cs (1)
56if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorTyping.cs (14)
250if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 282if (This == null || !This._IsEnabled || (This.IsReadOnly && !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource)) 328if (This == null || !This._IsEnabled || (This.IsReadOnly && !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource)) 357if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 462if (This == null || !This._IsEnabled || This.IsReadOnly) 516if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(args.Source)) 569if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(args.Source)) 884if (This == null || !This._IsEnabled || This.IsReadOnly) 942if (This == null || !This._IsEnabled || This.IsReadOnly) 1017if (This == null || !This._IsEnabled || This.IsReadOnly) 1037if (This == null || !This._IsEnabled || This.IsReadOnly) 1258if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 1325if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.IsKeyboardFocused) 1356if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.IsKeyboardFocused)
System\windows\Documents\TextSelection.cs (2)
1942if (!_textEditor.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect)) 2110bool caretVisible = this.IsEmpty && (!_textEditor.IsReadOnly || _textEditor.IsReadOnlyCaretVisible);
System\Windows\Documents\TextStore.cs (1)
4135return ((bool)this.UiScope.GetValue(TextEditor.IsReadOnlyProperty) || TextEditor.IsReadOnly);