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
From the course: Microsoft XAML: 3 Type Converters and Resources
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Types of resources6m 31s
-
XAML resources and ResourceDictionaries4m 4s
-
(Locked)
The Resources property2m 44s
-
(Locked)
Use resource with the StaticResource markup extensions3m 46s
-
(Locked)
Styles in resources1m 23s
-
(Locked)
Colors in resources1m 29s
-
(Locked)
Data and templates in resources3m 3s
-
(Locked)
Explore the resource hierarchy2m 51s
-
(Locked)
Create Resources with the Properties window5m 54s
-
(Locked)
A quick look at merged resources5m 24s
-
(Locked)
Use the Pack URI to locate resource files2m 39s
-
(Locked)
Load a resource file for dynamic application UI2m 6s
-
(Locked)
-