From the course: Microsoft XAML: 3 Type Converters and Resources

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Create Resources with the Properties window

Create Resources with the Properties window

From the course: Microsoft XAML: 3 Type Converters and Resources

Start my 1-month free trial

Create Resources with the Properties window

- [Instructor] I'm comfortable writing my XAML by hand and editing it in the xml editor. And I'm comfortable creating my resources that way, too. But there are times when I'd rather use a visual designer. That's what I'll show you in this video. This example I've got two orange ellipses. You can see the fill value is set here. On Visual Studio you can select the item, and then go over here to the Properties window. By default, it sorts in what's called the Category view. You can also switch it over to sort by Name. Go back to Category. And you can see that it's got an orange brush here. Now, if you know much about the Property window in wpf, you'll see these little property pegs over here. A white value when you hover over that says, that the stroke property is being set by what's called the default value. If I hover over this one, you can see it's being set with local, meaning it's being set here in my XAML. So that black indicates it's coming from a local value. I can click on this,…

Contents