Join Walt Ritscher for an in-depth discussion in this video Use the exercise files, part of Windows Presentation Foundation 4: Brushes and Colors.
- 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 organized my copy. I have a Courseware folder on my C drive, then a child folder for each course that has exercises. This one is named Wpf04 and here is my Exercise Files folder. In order to use the exercises in the 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 four. If there's an exercise available for a video in this chapter you'll find a matching-numbered folder. I'll take a look in video number two. 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. Here you'll see there's a folder that has an SLN extension. This is a Solution file. You can double-click on this to launch Visual Studio.
In Visual Studio I click on the Solution Explorer and I can see my Solution and my Project. After the Project is open, I encourage you to build the Project using the Build menu. This ensures that the Project is up to date and ready to use in the course. Now that you've seen how to open the exercise files, lets get started.
- Working with brushes
- Painting properties
- Painting in code
- Working with RGB channels
- Using hexadecimal values
- Setting opacity and transparency
- Editing color in the Visual Studio Color Editor
- Using gradient brushes
- Decorating with tiled brushes
- Adding brushes and colors to resources
- Working with opacity masks