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)
284readOnly = tp.TextContainer.TextSelection.TextEditor.IsReadOnly;
System\Windows\Documents\Hyperlink.cs (1)
233!this.TextContainer.TextSelection.TextEditor.IsReadOnly);
System\Windows\Documents\ImmComposition.cs (1)
1874return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly);
System\windows\Documents\TextEditor.cs (3)
251value = value && !this.IsReadOnly && this._IsEnabled; 1840if (This.IsReadOnly) 1866if (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)
482if (This == null || !This._IsEnabled || This.IsReadOnly) 506if (This == null || !This._IsEnabled || This.IsReadOnly) 573if (This == null || !This._IsEnabled || This.IsReadOnly) 603if (This == null || !This._IsEnabled || This.IsReadOnly) 640if (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)
253if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 285if (This == null || !This._IsEnabled || (This.IsReadOnly && !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource)) 331if (This == null || !This._IsEnabled || (This.IsReadOnly && !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource)) 360if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 471if (This == null || !This._IsEnabled || This.IsReadOnly) 525if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(args.Source)) 578if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(args.Source)) 893if (This == null || !This._IsEnabled || This.IsReadOnly) 951if (This == null || !This._IsEnabled || This.IsReadOnly) 1026if (This == null || !This._IsEnabled || This.IsReadOnly) 1046if (This == null || !This._IsEnabled || This.IsReadOnly) 1267if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 1337if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.IsKeyboardFocused) 1368if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.IsKeyboardFocused)
System\windows\Documents\TextSelection.cs (2)
1957if (!_textEditor.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect)) 2125bool caretVisible = this.IsEmpty && (!_textEditor.IsReadOnly || _textEditor.IsReadOnlyCaretVisible);
System\Windows\Documents\TextStore.cs (1)
4142return ((bool)this.UiScope.GetValue(TextEditor.IsReadOnlyProperty) || TextEditor.IsReadOnly);