For background on how to use qualifiers in the names of your image resource files, see Tailor your resources for language, scale, and other qualifiers. You can also think of the image as an asset, and the file that contains it as an asset file and you can find these kinds of resource files in your project's \Assets folder. By using qualifiers in your images' file names, and optionally dynamically loading them with the help of a ResourceContext, you can cause the most appropriate image file to be loaded that best matches the user's runtime settings for display scale, theme, high contrast, language, and other contexts.Īn image resource is contained in an image resource file. They can also appear in your app package manifest source file (the Package.appxmanifest file)-for example, as the value for App Icon on the Visual Assets tab of the Visual Studio Manifest Designer-or on your tiles and toasts. These images can be referenced from imperative code or from XAML markup, for example as the Source property of an Image. Your app can load image resource files (or other asset files) tailored for display scale factor, theme, high contrast, and other runtime contexts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |