Creating Master-Details Forms
Similarly to what already happened in Windows Forms, creating master-details forms in WPF 4 is also straightforward. This also enables you to understand other important concepts for the data-binding. Add a new window to the current project and name it MasterDetails. Divide the default Grid
into four cells, so that you can also add special buttons, as follows:
Repeat the step of adding a ListBox
and binding the customer’s CompanyName
property, same as in the first part of the previous subsection, ensuring that the ListBox
is placed in the upper-left column. Visual Studio 2010 generates for you exactly the same XAML ...
Get Visual Basic® 2010 Unleashed 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.