System.Windows.Forms.ToolStripTextBox.ReadOnly Property

Gets or sets a value indicating whether text in the System.Windows.Forms.ToolStripTextBox is read-only.

Syntax

[System.ComponentModel.DefaultValue(false)]
public bool ReadOnly { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When this property is set to true, the contents of the control cannot be changed by the user at runtime, but you can still change the contents in code. You can use this feature instead of disabling the control with the Control.Enabled property to allow the contents to be copied.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0