Bind direction and hierarchy / inherited properties

Just to share something cool I’ve found,

If we have view models arranged in an OOP hierarchy and an abstract property inside the class at the root of hierarchy that is overridden in various places downstream, apparently it is enough to set [Bind(Direction.<OptionHere>)] only on this root property, all the overrides need not be decorated with it. Unless a different direction is desired.

In root abstract class:


No AllModals anywhere in the page source:

But I see this is not the case when the decorated property is part of an interface instead of an abstract class. Thus if I go with the interface approach, I have to decorate all the implemented properties.