This project has moved and is read-only. For the latest updates, please go here.


VerifyPropertyName doesn't check for ICustomTypeDescriptor implementation


If ViewModel implements ICustomTypeDescriptor it is possible to implement bindings to properties that don't exist on the ViewModel class. In this case VerifyPropertyName() will always throw an exception that specified property does not exist. It is true, but it is not convenient :)

I guess that VerifyPropertyName() should also check specified property name against the list of "virtual" properties returned by ICustomTypeDescriptor.GetProperties().

file attachments

Closed Oct 13, 2014 at 1:55 PM by lbugnion