Join Walt Ritscher for an in-depth discussion in this video What you should know before watching, part of Windows Presentation Foundation 4: Brushes and Colors.
- [Narrator] So what should you know before beginning this course? This course is part of an ongoing multi-part series about Windows Presentation Foundation, Microsoft's newest and most flexible desktop application framework. I'll be working with the WPF projects in Visual Studio which means I'll spend the majority of the course working inside the Visual Studio application. Therefore some experience with Visual Studio, the full featured Microsoft developer IDE is a plus. In this course I'll be working with Visual Studio 2015. The WPF tools are also available for Visual Studio 2013 and earlier versions.
To be clear 2015 has the best WPF tools so I recommend you get a copy. The free Community Edition has all the tools you need for this course. I suggest you install the latest updates for Visual Studio 2015. At this time that is Update 3. There are a number of courses available to help you learn how to work with Visual Studio. This playlist is available on our site, it lists all the Visual Studio 2015 courses in our catalogue. The example application code for the course is C# so naturally I'll be working with solutions and projects that contain code.
I usually program in C# so that's the language I'll use in the course. I assume that you know .NET and C#. For this course a competence in .NET types and type members like properties and events is helpful. If you want to learn more about C# there is a playlist on our website that lists all the relevant C# courses. WPF uses XAML, Microsoft's eXtensible Application Markup Language. It's my opinion that all competent WPF developers should understand XAML and be comfortable reading and writing it during development.
If you are new to XAML check out my XAML series, it's a good primer to watch before taking this course. In that series I look at key principles like XAML based properties and events, I look at object elements and how XAML maps to the .NET type system. I explore markup extensions, type converters, resources, and resource dictionaries. Plus I investigate the new dependency and attached properties system. This system provides key benefits that make control templates and data binding work in WPF. Finally XAML is based on XML, so that suggests that you should have a basic understanding of XML.
If XML is new to you I suggest you search our site for some course to help you learn this important markup language. The minimum knowledge you need is understanding XML namespaces, elements, and attributes.
- 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