part I Introduction to Visual Studio Development
Set the page's background color
1. Select the Grid object by clicking the background page in the Designer (not one of the objects
that you've just added).
You can tell when you've selected the Grid object because its properties will ﬁll the Properties
As you'll learn in Chapter 7, "XAML markup step by step," each of the objects in a Windows
Store app is deﬁned by XAML markup codes and data that can be entered or adjusted in the
Code Editor. The Grid object is the base layout element for a page, and all of the elements
on a page are nested within this Grid object. In addition to serving as a useful container for
objects, the Grid object also has settings that you can adjust, such as the background color
that appears for your app. You'll set this now.
2. Click the Brush category, click the Background property, and then click the Solid Color Brush
3. Near the bottom of the Color Resources editor, select the number containing the pound (#)
sign, replace the contents with Green, and press Enter.
The alphanumeric value for green (#FF0080000) appears in the text box, and the background
color of the Grid object changes to green. Feel free to experiment with other color values if
OK—that's it for the user interface design walkthrough. Save your work now, before you write
the program code.
1. Click the Save All command on the File menu to save all your additions to the Lucky Seven
The Save All command saves everything in your project—the project ﬁle, the pages, the code-
behind ﬁles, the assets, the package manifest, and other related components in your applica-
tion. Because this is the ﬁrst time that you have saved your project, the Save Project dialog
box opens, prompting you for the name and location of the project. (If your copy of Visual
Studio is conﬁgured to prompt you for a location when you ﬁrst create your project, you won't
see the Save Project dialog box now—Visual Studio just saves your changes.)
2. Browse and select a location for your ﬁles. I recommend that you use the My Documents\
Visual Basic 2013 SBS\Chapter 03 folder (the location of the book's sample ﬁles), but the loca-
tion is up to you. Because you used the "My" preﬁx when you originally opened your project,
this version won't overwrite the practice ﬁle that I built for you on disk.