From the course: Windows Presentation Foundation: 3 Events and the Event Model

Unlock the full course today

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

Wire up event handlers with the Properties window

Wire up event handlers with the Properties window

From the course: Windows Presentation Foundation: 3 Events and the Event Model

Start my 1-month free trial

Wire up event handlers with the Properties window

- [Narrator] The property window in Visual Studio is very useful for looking at the values that are set for properties and any element defined in your XAML. I'm in this main window XAML file. I'm looking at these different elements like this Image element, and I can see the properties. Now if you don't see the property window, you can bring it onto the screen by going to View, scrolling down near the end and choosing Properties Window. Now this currently is set to show me the properties by category. And I can select my image and then go to Common and see the Source of the image is this Pretzel.jpg file and I can see the values for stretch and so on. So not only can I look at these values, but I can also edit them. This is very useful when you're not looking at your XAML file, say that you've switched over to just looking at the designer only. So you look at the designer and you look at the property window to see the values. Then you can also change this, like this. I can go to the…

Contents