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

Unlock the full course today

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

Types of resources

Types of resources

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

Start my 1-month free trial

Types of resources

- [Instructor] This chapter focuses on XAML resources, a way for developers and designers to create, organize, and consume reusable resources from within a XAML file. Before delving into this essential tool, I'd like to take a couple minutes and talk about resources in .NET applications and how misunderstanding them can muddy the water when thinking about XAML resources. You may encounter documentation that talks about assembly resources, embedded resources, and Visual Studio resource tools. That's what I wanna talk about in this video. I'll be using these two projects to demonstrate this, it's the Universal Windows application and a WPF application. In the WPF application, I have an Images folder that contains two flower .jpg files, and both of these are marked as Build Action, Embedded Resource. What this means is when I build my project, it will take the .jpg file and inject it inside my assembly, my .exe or my DLL, and that means when I ship my assembly, the .jpgs are not in a…

Contents