Time for action – creating a Run window using grid

Let's now use the Grid panel to create a Run window similar to the one present in Windows:

  1. Create a new WPF project and name it Chapter02.
  2. Right-click on the project name and select Add New Item…. Add a new window to the project and name it GridLayout.xaml. This is shown in the following screenshot:
    Time for action – creating a Run window using grid
  3. Hover the mouse just above the grid area, and you will notice the vertical yellow line that appears with a header. This represents the column that will be added to the grid layout if we click on the grid layout. We will see a similar yellow line, but horizontal, when we move the mouse just left of the ...

Get Blend for Visual Studio 2012 by Example : Beginner's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.