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

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