69 writes to ReadOnly
PresentationUI (24)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (22)
212this._language.ReadOnly = true; 222this._title.ReadOnly = true; 239this._identifier.ReadOnly = true; 296this._version.ReadOnly = true; 313this._category.ReadOnly = true; 322this._status.ReadOnly = true; 331this._content.ReadOnly = true; 349this._author.ReadOnly = true; 358this._subject.ReadOnly = true; 368this._description.ReadOnly = true; 379this._keywords.ReadOnly = true; 476this._size.ReadOnly = true; 494this._filename.ReadOnly = true; 504this._documentType.ReadOnly = true; 562this._documentPrintedDate.ReadOnly = true; 571this._documentModifiedDate.ReadOnly = true; 580this._documentCreatedDate.ReadOnly = true; 589this._revision.ReadOnly = true; 638this._lastSaved.ReadOnly = true; 678this._fileModifiedDate.ReadOnly = true; 687this._fileAccessedDate.ReadOnly = true; 712this._fileCreatedDate.ReadOnly = true;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (2)
166this.textBoxUnrestrictedText.ReadOnly = true; 267this.textBoxPermissionsContact.ReadOnly = true;
System.Windows.Forms (6)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
253ReadOnly = true,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
4379EditTextBox.ReadOnly = drawReadOnly || !gridEntry.IsTextEditable;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
942base.ReadOnly = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
301set { TextBox.ReadOnly = value; }
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
365set => _upDownEdit.ReadOnly = value;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
323_details.ReadOnly = true;
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ByteViewer.cs (1)
458ReadOnly = true,
System.Windows.Forms.Tests (38)
System\Windows\Forms\AccessibleObjects\DataGridViewTextBoxEditingControl.DataGridViewTextBoxEditingControlAccessibleObjectTests.cs (1)
34textCellControl.ReadOnly = readOnly;
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
76textBoxBase.ReadOnly = readOnly;
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxControlAccessibleObjectTests.cs (1)
42textBox.ReadOnly = readOnly;
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownEdit.UpDownEditAccessibleObjectTests.cs (1)
113upDownEdit.ReadOnly = readOnly;
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (1)
55textBoxBase.ReadOnly = readOnly;
TextBoxBaseTests.cs (33)
73ReadOnly = readOnly 378ReadOnly = true 1446ReadOnly = true, 1509ReadOnly = true, 2340control.ReadOnly = value; 2345control.ReadOnly = value; 2350control.ReadOnly = !value; 2355control.ReadOnly = value; 2373control.ReadOnly = value; 2381control.ReadOnly = value; 2389control.ReadOnly = !value; 2404control.ReadOnly = value; 2415ReadOnly = true 2427control.ReadOnly = false; 2432control.ReadOnly = false; 2437control.ReadOnly = true; 2443control.ReadOnly = false; 2455ReadOnly = true, 2468control.ReadOnly = false; 2474control.ReadOnly = false; 2480control.ReadOnly = true; 2487control.ReadOnly = false; 2500ReadOnly = true, 2513control.ReadOnly = false; 2519control.ReadOnly = false; 2525control.ReadOnly = true; 2532control.ReadOnly = false; 5231ReadOnly = readOnly 5262ReadOnly = readOnly 5852ReadOnly = readOnly 5868ReadOnly = readOnly 5901ReadOnly = readOnly 5954ReadOnly = true
36 references to ReadOnly
System.Windows.Forms (10)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
347if (ReadOnly)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
935get => base.ReadOnly;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (4)
209if (!ReadOnly && (keyData == (Keys.Control | Keys.Back) || keyData == (Keys.Control | Keys.Shift | Keys.Back))) 290else if (ReadOnly) 383protected override bool CanEnableIme => !(ReadOnly || PasswordProtect) && base.CanEnableIme; 1334if (!ReadOnly)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (1)
57internal override bool IsReadOnly => this.TryGetOwnerAs(out TextBoxBase? owner) && owner.ReadOnly;
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
218public override bool IsReadOnly => Owner is not null && Owner.ReadOnly;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
300get { return TextBox.ReadOnly; }
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
364get => _upDownEdit.ReadOnly;
System.Windows.Forms.Tests (26)
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
77Assert.Equal(textBoxBase.ReadOnly, accessibleObject.IsReadOnly);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
103Assert.False(control.ReadOnly);
System\Windows\Forms\RichTextBoxTests.cs (1)
111Assert.False(control.ReadOnly);
TextBoxBaseTests.cs (22)
2311Assert.True(control.ReadOnly); 2315Assert.False(control.ReadOnly); 2326Assert.False(control.ReadOnly); 2341Assert.Equal(value, control.ReadOnly); 2346Assert.Equal(value, control.ReadOnly); 2351Assert.Equal(!value, control.ReadOnly); 2356Assert.Equal(value, control.ReadOnly); 2374Assert.Equal(value, control.ReadOnly); 2382Assert.Equal(value, control.ReadOnly); 2390Assert.Equal(!value, control.ReadOnly); 2428Assert.False(control.ReadOnly); 2433Assert.False(control.ReadOnly); 2438Assert.True(control.ReadOnly); 2444Assert.False(control.ReadOnly); 2469Assert.False(control.ReadOnly); 2475Assert.False(control.ReadOnly); 2481Assert.True(control.ReadOnly); 2488Assert.False(control.ReadOnly); 2514Assert.False(control.ReadOnly); 2520Assert.False(control.ReadOnly); 2526Assert.True(control.ReadOnly); 2533Assert.False(control.ReadOnly);
TextBoxTests.cs (1)
97Assert.False(control.ReadOnly);