I am trying to databind a DataGridView to a list that contains a class with the following structure:
MyClass.SubClass.Property
When I step through the code, the SubClass is never requested.
I don’t get any errors, just don’t see any data.
Note that I can databind in an edit form with the same hierarchy.
Law of Demeter.
Create a property on MyClass that exposes the SubClass.Property. Like so: