Hierarchical Binding

A master-detail relationship is where one table or entity acts like a master or parent table or entity and the other acts like a detail or child table or child entity. Typically, the master and detail tables or entities will have a one-many relationship among them, with the master containing unique records and the child containing details pertaining to those records. One of the simplest examples is that of employees and departments in an organization. A department can have many employees, but an employee typically belongs only to one department. Thus, the department is a classic example of a master while the employee table or entity forms the child. Binding to data in master-detail form is a little more complex when compared ...

Get XAML Developer Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.