Convention for IsEnabled to check for setter on property?

Topics: Conventions, Feature Requests
Jul 24, 2012 at 1:16 PM

Hi all

Having more and more success with CM - it's fantastic! Thanks Rob (and all involved)!

I'm still a bit "green" with the deeper aspects of it, and I was hoping someone might be able to assist.

When using convention binding (via x:Name), is there a way to have the control's IsEnabled set to false / IsReadOnly set to true, if the property being bound to only has a getter and no public setter?

Obviously if you cannot set the property, it makes no sense to be able to edit the property value in the control?