2 writes to IsReadOnly
PresentationFramework (2)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1004_textEditor.IsReadOnly = !IsEditingEnabled;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1055_textEditor.IsReadOnly = !IsEditingEnabled;
48 references to IsReadOnly
PresentationFramework (48)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
294readOnly = tp.TextContainer.TextSelection.TextEditor.IsReadOnly;
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
241!this.TextContainer.TextSelection.TextEditor.IsReadOnly);
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
2072return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly);
src\Framework\System\windows\Documents\TextEditor.cs (3)
267value = value && !this.IsReadOnly && this._IsEnabled; 1891if (This.IsReadOnly) 1917if (This.IsReadOnly)
src\Framework\System\windows\Documents\TextEditorCharacters.cs (10)
87if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 140if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection.Start is TextPointer)) 185if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 205if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 228if (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)) 276if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 304if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 346if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection)) 439if (This == null || !This._IsEnabled || This.IsReadOnly)
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (2)
71if (This.IsReadOnly) 465if (!textEditor.IsReadOnly)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (5)
610if (This == null || !This._IsEnabled || This.IsReadOnly) 641if (This == null || !This._IsEnabled || This.IsReadOnly) 715if (This == null || !This._IsEnabled || This.IsReadOnly) 753if (This == null || !This._IsEnabled || This.IsReadOnly) 790if (This == null || !This._IsEnabled || This.IsReadOnly)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (4)
241if (!_textEditor.IsReadOnly) 265if (!_textEditor.IsReadOnly && // 292if (!_textEditor.IsReadOnly) 657if (!_textEditor.IsReadOnly && _textEditor.TextView != null && _textEditor.TextView.RenderScope != null)
src\Framework\System\windows\Documents\TextEditorLists.cs (2)
85if (This != null && This._IsEnabled && !This.IsReadOnly && !This.Selection.IsTableCellRange) 128if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2002if (This.IsReadOnly && !This.IsReadOnlyCaretVisible)
src\Framework\System\windows\Documents\TextEditorTables.cs (1)
75if (This == null || !This._IsEnabled || This.IsReadOnly || !This.AcceptsRichContent || !(This.Selection is TextSelection))
src\Framework\System\windows\Documents\TextEditorTyping.cs (14)
266if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 298if (This == null || !This._IsEnabled || (This.IsReadOnly && !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource)) 345if (This == null || !This._IsEnabled || (This.IsReadOnly && !This.IsReadOnlyCaretVisible) || !This._IsSourceInScope(e.OriginalSource)) 374if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 496if (This == null || !This._IsEnabled || This.IsReadOnly) 550if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(args.Source)) 603if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(args.Source)) 919if (This == null || !This._IsEnabled || This.IsReadOnly) 977if (This == null || !This._IsEnabled || This.IsReadOnly) 1052if (This == null || !This._IsEnabled || This.IsReadOnly) 1072if (This == null || !This._IsEnabled || This.IsReadOnly) 1293if (This == null || !This._IsEnabled || This.IsReadOnly || !This._IsSourceInScope(e.OriginalSource)) 1363if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.IsKeyboardFocused) 1394if (This == null || !This._IsEnabled || This.IsReadOnly || !This.UiScope.IsKeyboardFocused)
src\Framework\System\windows\Documents\TextSelection.cs (2)
1968if (!_textEditor.IsReadOnly && ShouldSelectEmbeddedObject(cursorPosition, cursorMousePoint, objectEdgeRect)) 2136bool caretVisible = this.IsEmpty && (!_textEditor.IsReadOnly || _textEditor.IsReadOnlyCaretVisible);
src\Framework\System\Windows\Documents\TextStore.cs (1)
3970return ((bool)this.UiScope.GetValue(TextEditor.IsReadOnlyProperty) || TextEditor.IsReadOnly);