1

Closed

VerifyPropertyName doesn't check for ICustomTypeDescriptor implementation

description

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 12:55 PM by lbugnion

comments