IsReadOnly Property On Editors?

Editors for WPF Forum

Posted 10 years ago by Brette Esterbrooks
Version: 9.2.0513
Avatar
Hello,

It seems that the editors do not support the IsReadOnly property? Is there anyway we can mimic this using your controls.

Thanks,
Brette

Comments (3)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Brette,

The PartEditBox-derived controls don't have a IsReadOnly property like TextBox, but we have a TODO item to see about adding that property. The controls do have either an IsEditable or EditableParts property though. For example, DateTimeEditBox would allow you to prevent changes to the month part, while still allowing the days to be updated. For edit boxes with a single default part (like Int32EditBox), the IsEditable property plays the same role.

This doesn't work exactly like the TextBox IsReadOnly property though. It effectively disables the part, so it's text cannot be selected.


Actipro Software Support

Posted 10 years ago by Brette Esterbrooks
Avatar
Any idea when the controls will support this functionality?
Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Brette,

Unfortunately, no. This isn't a higer priority item right now and we would need to figure out how it work. The edit boxes would not be able to support mouse selection like in the TextBox, as the "text" is displayed using disparate parts.

If it's something very important for you, you can always contract us to implement it. More details on that are here, where you can also request a quote:
http://www.actiprosoftware.com/Purchase/ConsultingServices.aspx.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.