O'Reilly logo

Visual Basic 2010 Unleashed by Alessandro Del Sole

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required