READONLY Attribute | ReadOnly Property

Sets or retrieves a value that indicates the read-only status of the text box.

Syntax

Visual Basic Overridable  Public  Property ReadOnly As bool
C# public   virtual  bool ReadOnly { get; set; }
Managed C++ public:  __property virtual bool get_ReadOnly();
public:  __property virtual  void set_ReadOnly(bool);
JScript public   function get ReadOnly() : bool;
public   function set ReadOnly(bool);

Possible Values

bValue bool that specifies or receives the read-only status of the text box.

The property is read/write. The property has no default value.

Applies To

TOOLBARTEXTBOX

See Also

Internet Explorer WebControls, About the Toolbar WebControl