Summary
You’ve seen how the simple-sounding Image
element packs a lot of power with:
→ Seamless fetching and rendering of content from a number of sources, local or remote
→ Stretching support that includes nine-grid rendering in addition to the typical XAML stretching options
→ The ability to display dynamic in-memory images, whether crafted manually via WriteableBitmap
, taken from a screenshot via RenderTargetBitmap
, or produced from a PdfPage
You’ve also seen how sophisticated the resource qualifier support is. Although this support applies to any resource file, it is most commonly leveraged for image files. The flexibility of resource qualifiers along with the power of the Image
element makes it possible to create highly adaptive and scalable ...
Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.