Articles in this section
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


EditControl demo for ReadOnly property.

 

References:

For more information on Edit control, please either link to the online documentation odownload the sample for a better experience.

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied