Join Walt Ritscher for an in-depth discussion in this video Using the exercise files, part of Windows Presentation Foundation: 2 Layout.
- [Instructor] If you are a member of lynda.com or Linkedin learning, you have access to the exercise files used throughout this title. The files are in a folder named exercise files, put this folder in a location that makes sense for your computer. This is how I organize my copy. I have a courseware folder on my C drive, then a child for each course that has exercises. This one is named wpf02. And here's my copy of the files for this course. In order to use the exercises in this folder, you'll have to have Visual Studio 2015 installed.
I encourage you to install the latest update for Visual Studio, which is called update three. Each chapter is numbered, I'll open chapter two. If there is an exercise available for a video in this chapter, you'll find a matching numbered folder. I'll take a look at the files in this chapter four panel size. This is the start folder for the project. In some videos, there's also a done folder containing the final version of the project created in the video. I'll open the start folder.
Inside this folder, you'll see an sln file, this is the solution file. I have Visual Studio installed on this computer, so when I double-click on this sln file, it will launch Visual Studio. Now the solution is open inside Visual Studio and I can see there are several projects in here. I encourage you, as soon as you open a project, to go to the build menu and choose to build the solution. That way, you'll ensure that your code is up to date.
Now that you've seen how to open the exercise files, let's get started.
- Exploring the layout panels
- Working with the grid
- Adding rows and columns
- Creating scrolling content
- Controlling element visibility
- Aligning content
- Making custom layout panels