In a .NET application, if one sets a control to read-only it is reasonable to expect that one could still alter its contents programmatically but that the user should not be able to change its contents by editing or by dragging. It turns out that one cannot edit it by typing but one can remove some or all of its contents by dragging.I first submitted this to the MSDN C# forum (http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/43fe6ae1-b7c6-43cf-9fb5-97ad8131e7db) and was told that the behavior is "as designed". I wanted to elevate the issue here to at least present the case that, in my opinion, allowing dragging out to delete text is *not* properly honoring the read-only property.
Version
Please wait...