Category / Section
Update proper information about how do implement Visual Studio like read-only file handling behavior in EditControl
1 min read
In EditControl, the contents can be prevent from modification. For that, the property named ReadOnly can be set to true for enable the read only mode. If false, the control is in editable state. At read only mode we can only copy the contents. Other editing operations can’t be performed.
C#:
this.editControl1.ReadOnly = true;
VB:
Me.editControl1.ReadOnly = True
References:
For more information on Edit control, please either link to the online documentation or download the sample for a better experience.