This project is read-only.


When is my property dependency registration executed if I use the declarative API?

Your property dependency is registered as soon as the Property Getter is evaluated the first time. In ViewModels this occurs as soon as the related View loads and thereby evaluates the bound properties for the first time.

Isn't the property dependency registered every time the Property Getter is evaluated?

No. PDFx knows after the first execution of the dependency registration that no further registrations are necessary and therefore doesn't call the registration delegate, which you pass into the Depends method, anymore.

Last edited May 9, 2013 at 11:43 PM by KevinStumpf, version 3


No comments yet.