The Windows operating system uses a standard set of colors throughout various parts of the OS. These standard colors are availablein the System ColorsClass available in Windows Presentation Format.
- [Instructor] In the Microsoft Windows operating systems…there's a standard set of colors that are used…throughout the operating system…and are used to draw certain parts…of the windows that the user sees.…So if you want parts of your application…to be consistent with the same colors…that are used inside the operating system,…you can use a set of pre-defined system colors in WPF.…Here's how that works.…Hold down the spacebar and move this over a bit.…Selected my ellipse, I want to fill this ellipse…with a solider color brush.…So I go to Properties, go to Brush,…click on the Fill property, click on Solid Color Brush.…
Now I want to set the color of that brush…based on the system color.…So go look at the Color Resources tab,…and you'll see that I have my three…local resources that I've defined here,…and below that is a set of standard colors.…So if you want your application to match…the Gradient Active Caption Color Key, use this item.…I'll choose the Desktop Color Key.…And then I'll go over to the rectangle,…and I'll do a similar action.…
- 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
Skill Level Intermediate
Windows Presentation Foundation: 2 Layoutwith Walt Ritscher2h 13m Intermediate
1. Brush and Color Overview
3. The Visual Studio Color Editor
4. The Gradient Brushes
5. The Tiled Brushes
6. Brushes and Colors in Resources
7. Opacity Mask
Examples of opacity patterns6m 47s
Next steps1m 11s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.