Category / Section
Update proper information on how to implement Visual Studio like read-only file handling behavior in EditControl
1 min read
In EditControl, the contents can be prevented from modification. For that, the property named ReadOnly can be set to true to 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.