{"id":860,"date":"2025-09-25T09:33:49","date_gmt":"2025-09-25T16:33:49","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/?p=860"},"modified":"2025-09-25T09:52:36","modified_gmt":"2025-09-25T16:52:36","slug":"announcing-winui-gallery-2-7","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/announcing-winui-gallery-2-7\/","title":{"rendered":"Announcing WinUI Gallery 2.7"},"content":{"rendered":"<p><a href=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/Social-media-image-2.png\"><img decoding=\"async\" class=\"alignnone wp-image-886 size-full\" src=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/Social-media-image-2.png\" alt=\"Social media image image\" width=\"1200\" height=\"628\" srcset=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/Social-media-image-2.png 1200w, https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/Social-media-image-2-300x157.png 300w, https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/Social-media-image-2-1024x536.png 1024w, https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/Social-media-image-2-768x402.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Hey WinUI developers! <a href=\"https:\/\/github.com\/microsoft\/WinUI-Gallery\">WinUI Gallery<\/a> 2.7 is here and it\u2019s packed with fresh updates. If you\u2019re new around here, WinUI Gallery is the go-to app for exploring WinUI controls, samples, design guidance, and handy tools \u2014 all in one place.\nThis release brings a mix of brand-new features, upgraded samples, and plenty of community-driven improvements. Let&#8217;s dive in:<\/p>\n<h2><span style=\"font-size: 24pt;\"><strong>Sample history &amp; favorites<\/strong><\/span><\/h2>\n<p>No more losing track of what you were exploring! The home screen now has history and favorites tabs:<\/p>\n<ul>\n<li>Mark samples as favorites and find them under the Favorites tab.<\/li>\n<li>Recently opened samples show up in History so you can quickly jump back in.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/Favorites.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-875\" src=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/Favorites.gif\" alt=\"Favorites image\" width=\"1398\" height=\"705\" \/><\/a><\/p>\n<p><span style=\"font-size: 18pt;\"><span style=\"font-size: 12pt;\">Thanks to <a href=\"https:\/\/github.com\/Zakariathr22\">@Zakariathr22<\/a> for <a href=\"https:\/\/github.com\/microsoft\/WinUI-Gallery\/pull\/1875\">#1875<\/a>\n<\/span><\/span><\/p>\n<h2><span style=\"font-size: 24pt;\"><strong>\nNew &amp; updated samples<\/strong><\/span><\/h2>\n<h5><span style=\"font-size: 18pt;\"><strong>TitleBar<\/strong><\/span><\/h5>\n<p>Updated to use the new TitleBar control, so you can create polished window chrome with just a few lines of code.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/TitleBar.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-877\" src=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/TitleBar.png\" alt=\"TitleBar image\" width=\"1240\" height=\"298\" srcset=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/TitleBar.png 1240w, https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/TitleBar-300x72.png 300w, https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/TitleBar-1024x246.png 1024w, https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/TitleBar-768x185.png 768w\" sizes=\"(max-width: 1240px) 100vw, 1240px\" \/><\/a><\/p>\n<h5><span style=\"font-size: 18pt;\"><strong>ThemeShadow<\/strong><\/span><\/h5>\n<p>A brand-new sample showing off composition-based shadows for that extra bit of depth and flair.\n<a href=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/ThemeShadow.gif\"><img decoding=\"async\" class=\"alignnone wp-image-873\" src=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/ThemeShadow.gif\" alt=\"An animated image showing how the new ThemeShadow sample works\" width=\"488\" height=\"327\" \/><\/a><\/p>\n<h5><span style=\"font-size: 18pt;\"><strong>StoragePicker (Windows App SDK 1.8)<\/strong><\/span><\/h5>\n<p>We\u2019ve moved the Gallery to Windows App SDK 1.8, which introduces the new StoragePicker APIs. These bring improvements like full-admin mode support. The related samples have been refreshed to match the new APIs.<\/p>\n<p><span style=\"font-size: 18pt;\"><span style=\"font-size: 12pt;\">Thanks <a href=\"https:\/\/github.com\/Zakariathr22\">@Zakariathr22<\/a> for <a href=\"https:\/\/github.com\/microsoft\/WinUI-Gallery\/pull\/2044\">#2044<\/a><\/span><\/span><\/p>\n<h5><span style=\"font-size: 18pt;\"><strong>Fresh built-in styles<\/strong><\/span><\/h5>\n<p><span style=\"font-size: 12pt;\">We\u2019ve added a couple of new typography and button styles:<\/span><\/p>\n<ul>\n<li>BodyLargeTextBlockStyle &amp; BodyLargeStrongTextBlockStyle for TextBlocks<\/li>\n<li>SubtleButtonStyle for Buttons<\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/image-2065413799.png\"><img decoding=\"async\" class=\"alignnone wp-image-874\" src=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/image-2065413799.png\" alt=\"An image of a text ramp that comes with WinUI\" width=\"475\" height=\"443\" srcset=\"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/image-2065413799.png 777w, https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/image-2065413799-300x280.png 300w, https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-content\/uploads\/sites\/61\/2025\/09\/image-2065413799-768x716.png 768w\" sizes=\"(max-width: 475px) 100vw, 475px\" \/><\/a><\/p>\n<h2><span style=\"font-size: 24pt;\"><strong>\nOther noticeable changes<\/strong><\/span><\/h2>\n<p>We\u2019ve closed over 100 PRs, improving our code base, maintainability, accessibility, and fixing lots of bugs. Some highlights include:<\/p>\n<ul>\n<li>Symbol enums now show on the Iconography page \u2013 thanks <a href=\"https:\/\/github.com\/weitzhandler\">@weitzhandler<\/a><\/li>\n<li>Smoother scrolling and UX on the Colors and Iconography pages<\/li>\n<li>Upgraded to Windows App SDK 1.8<\/li>\n<li>Using new WinUI TitleBar in the Gallery, for an improved UX and easier maintenance<\/li>\n<li>Fixed a bunch of accessibility issues (from text scaling to screen reader improvements)<\/li>\n<li>Refined styling and spacing across multiple pages for a cleaner look<\/li>\n<li>Fixed drag &amp; drop issues between ListViews \u2013 thanks <a href=\"https:\/\/github.com\/jpcassano\">@jpcassano<\/a><\/li>\n<li>Lots of typo and doc fixes, code cleanup, accessibility bugfixes and general polish from many contributors &#8211; thanks <a href=\"https:\/\/github.com\/Jay-o-Way\">@Jay-o-Way<\/a>, <a href=\"https:\/\/github.com\/AndrewKeepCoding\">@AndrewKeepCoding<\/a>, <a href=\"https:\/\/github.com\/weitzhandler\">@weitzhandler<\/a>, <a href=\"https:\/\/github.com\/Zakariathr22\">@Zakariathr22<\/a>, <a href=\"https:\/\/github.com\/manabu-nakamura\">@manabu-nakamura<\/a>, <a href=\"https:\/\/github.com\/MGGSK\">@MGGSK<\/a>, <a href=\"https:\/\/github.com\/0x5bfa\">@0x5bfa<\/a>, <a href=\"https:\/\/github.com\/mrlacey\">@mrlacey<\/a>, <a href=\"https:\/\/github.com\/ghost1372\">@ghost1372<\/a>, <a href=\"https:\/\/github.com\/jpcassano\">@jpcassano<\/a>, <a href=\"https:\/\/github.com\/rashmi-thakurr\">@rashmi-thakurr<\/a>, <a href=\"https:\/\/github.com\/sabareesanms\">@sabareesanms<\/a><\/li>\n<\/ul>\n<p>All in all, WinUI Gallery 2.7 is packed with polish, new samples, and community love! Grab it <a href=\"https:\/\/apps.microsoft.com\/detail\/9P3JFPWWDZRC?hl=en-us&amp;gl=US&amp;ocid=pdpshare\">from the Microsoft Store<\/a> or check out <a href=\"https:\/\/github.com\/microsoft\/WinUI-Gallery\">the GitHub repo<\/a> if you want to contribute.<\/p>\n<p>Happy coding! \ud83d\udcbb\u2728<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Hey WinUI developers! WinUI Gallery 2.7 is here and it\u2019s packed with fresh updates. If you\u2019re new around here, WinUI Gallery is the go-to app for exploring WinUI controls, samples, design guidance, and handy tools \u2014 all in one place. This release brings a mix of brand-new features, upgraded samples, and plenty of community-driven [&hellip;]<\/p>\n","protected":false},"author":128482,"featured_media":888,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[4,69,51,61,49,66,68,8,3,67,54,6,7,15],"class_list":["post-860","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ifdef-windows","tag-net","tag-cpp","tag-csharp","tag-developer","tag-dotnet","tag-fluent","tag-ux","tag-windows","tag-windows-community-toolkit","tag-windows11","tag-windowsappsdk","tag-winui","tag-winui3","tag-xaml"],"acf":[],"blog_post_summary":"<p>&nbsp; Hey WinUI developers! WinUI Gallery 2.7 is here and it\u2019s packed with fresh updates. If you\u2019re new around here, WinUI Gallery is the go-to app for exploring WinUI controls, samples, design guidance, and handy tools \u2014 all in one place. This release brings a mix of brand-new features, upgraded samples, and plenty of community-driven [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/posts\/860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/users\/128482"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/comments?post=860"}],"version-history":[{"count":1,"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/posts\/860\/revisions"}],"predecessor-version":[{"id":972,"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/posts\/860\/revisions\/972"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/media\/888"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/media?parent=860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/categories?post=860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/ifdef-windows\/wp-json\/wp\/v2\/tags?post=860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}