MaskedTextBox::ReadOnly Property

 
Use BaseTrue

Gets or sets a value indicating whether text in the text box is read-only.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property bool ReadOnly {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true to indicate the text is read only; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: