Explore the Visual Studio Brush and Color editor and learn how to control the fill, stroke, and colors using these tools.
- [Instructor] Visual Studio has a nice…brush and color editor that will simplify…your developer life in certain scenarios.…You can continue to write your XAML…and create your brushes and colors there by hand if you like…or do the same thing in C#,…but I encourage you to look at the Visual Studio tool,…because it can simplify your life in certain scenarios.…For this example, I'm working with three shapes.…I've got an ellipse, I've got a rectangle;…this rectangle has rounded corners,…and you accomplish that by using radius X and radius Y,…and I'm also using a polygon shape here.…
This allows me to specify a series of lines…that become an enclosed shape,…so these are the points that define my polygon.…Here's how you use the color editor.…You choose your item, this ellipse I've got a choice…of changing the fill or the stroke,…then I go over to the properties window.…If you don't see the properties window…you'll go to view, properties window.…In my case I've got it docked below the solution explorer,…and I had to make it pretty tall in order to see everything.…
- 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?
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.