I\'m updating some existing WPF code and my application has a number of textblocks defined like this:
Before
will work you have to make ObjectA
itself a property because binding will only work with properties not fields.
// my business object also contains another object like this
public SomeOtherObject ObjectA { get; set; }
public MyBusinessObject()
{
// constructor
ObjectA = new SomeOtherObject();
}