2 writes to IsReadOnly
PresentationFramework (2)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
989IsReadOnly = !IsEditingEnabled,
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1018IsReadOnly = !IsEditingEnabled,
48 references to IsReadOnly
PresentationFramework (48)
System\Windows\Controls\TextRangeAdaptor.cs (1)
283readOnly = tp.TextContainer.TextSelection.TextEditor.IsReadOnly;
System\Windows\Documents\Hyperlink.cs (1)
232!this.TextContainer.TextSelection.TextEditor.IsReadOnly);
System\Windows\Documents\ImmComposition.cs (1)
1860return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly);
System\windows\Documents\TextEditor.cs (3)
245value = value && !this.IsReadOnly && this._IsEnabled; 1815if (This.IsReadOnly) 1841if (This.IsReadOnly)
System\windows\Documents\TextEditorCharacters.cs (10)
68if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 121if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection.Start is TextPointer)) 166if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 186if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 209if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 238if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 257if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 285if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 327if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 420if (This == null || !This._IsEnabled || This.IsReadOnly)
System\windows\Documents\TextEditorContextMenu.cs (2)
59if (This.IsReadOnly) 436if (!textEditor.IsReadOnly)
System\windows\Documents\TextEditorCopyPaste.cs (5)
483if (This == null || !This._IsEnabled || This.IsReadOnly) 507if (This == null || !This._IsEnabled || This.IsReadOnly) 574if (This == null || !This._IsEnabled || This.IsReadOnly) 604if (This == null || !This._IsEnabled || This.IsReadOnly) 641if (This == null || !This._IsEnabled || This.IsReadOnly)
System\windows\Documents\TextEditorDragDrop.cs (4)
212if (!_textEditor.IsReadOnly) 235if (!_textEditor.IsReadOnly && // 262if (!_textEditor.IsReadOnly) 627if (!_textEditor.IsReadOnly && _textEditor.TextView != null && _textEditor.TextView.RenderScope != null)
System\windows\Documents\TextEditorLists.cs (2)
66if (This != null && This._IsEnabled && !This.IsReadOnly && !This.Selection.IsTableCellRange) 109if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorSelection.cs (1)
1977if (This.IsReadOnly && !This.IsReadOnlyCaretVisible)
System\windows\Documents\TextEditorTables.cs (1)
55if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
System\windows\Documents\TextEditorTyping.cs (14)
249if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 281if (This == null || !This._IsEnabled || (This.IsReadOnly && !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource)) 327if (This == null || !This._IsEnabled || (This.IsReadOnly && !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource)) 356if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 461if (This == null || !This._IsEnabled || This.IsReadOnly) 515if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(args.Source)) 568if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(args.Source)) 883if (This == null || !This._IsEnabled || This.IsReadOnly) 941if (This == null || !This._IsEnabled || This.IsReadOnly) 1016if (This == null || !This._IsEnabled || This.IsReadOnly) 1036if (This == null || !This._IsEnabled || This.IsReadOnly) 1257if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 1324if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.IsKeyboardFocused) 1355if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.IsKeyboardFocused)
System\windows\Documents\TextSelection.cs (2)
1941if (!_textEditor.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect)) 2109bool caretVisible = this.IsEmpty && (!_textEditor.IsReadOnly || _textEditor.IsReadOnlyCaretVisible);
System\Windows\Documents\TextStore.cs (1)
4134return ((bool)this.UiScope.GetValue(TextEditor.IsReadOnlyProperty) || TextEditor.IsReadOnly);