Repository navigation
WinUI Gallery 3.0 runs on the experimental Windows App SDK 2.5 (self-contained) and adds samples for upcoming WinUI controls and windowing APIs. It also improves search and includes many accessibility fixes.
Get WinUI Gallery from the Microsoft Store
Note
This release uses Windows App SDK 2.5.4-experimental. Pages that cover experimental APIs carry an Experimental badge, and those APIs can change.
Highlights
- Experimental Windows App SDK (self-contained) and new windowing APIs:
Window.Width/Height/MinWidth/MinHeight/MaxWidth/MaxHeightsamples by Jesse Collins (@JesseCol) in #2229, Window UX refinements by Niels Laute (@niels9001) in #2234, and the update to 2.5.4-experimental by Pranav Gupta (@pranav-gupta-msft) in #2251 - Experimental controls:
FlowLayout,LayoutPanel,PagerControlandWrapPanelsamples with Experimental badges by Morten Nielsen (@dotMorten) in #2233 - TableView: five samples for the new native TableView by Morten Nielsen (@dotMorten) in #2250
- Inking:
InkCanvasandInkToolBarsamples by Morten Nielsen (@dotMorten) in #2245 - Charts: a new experimental Chart page covering line, bar, area, axes, markers, data labels, time series and live data by Nitin Chaudhary (@Nitin-100) (building on Morten Nielsen (@dotMorten)'s work) in #2261
- Better search: tag-based search by Marcel W. (@marcelwgn) in #2185, and a redesigned no-results state by Zakaria Tahri (@Zakariathr22) in #2255
- Sample catalog for tools: every page and sample is indexed in
catalog/windows-samples.jsonby Jaylyn Barbee (@Jaylyn-Barbee) in #2232
New and updated samples
- ListView
ScrollIntoViewandListViewPersistenceHelpersamples by Niels Laute (@niels9001) in #2179 - Animated GIF sample on the Image page by Niels Laute (@niels9001) in #2178
- File thumbnails sample by Niels Laute (@niels9001) in #2177
- Stretchable title bar search box and drag region sample by Niels Laute (@niels9001) in #2182
PipsPager.WrapModeoption by Niels Laute (@niels9001) in #2199- Camera source picker in the CaptureElementPreview sample by @Copilot in #2189
- Clarified SystemBackdropElement theme update behavior by @Copilot in #2186
- Alpha channel option for
ColorSelectorby HO-COOH in #2221 - Updated TimePicker regional clock guidance by Niels Laute (@niels9001) in #2224
- Mouse back/forward button navigation by hoshiizumiya in #2195
- Removed the ListBox sample by Niels Laute (@niels9001) in #2180
- Create DataTemplates in code with the experimental
DataTemplate(DataTemplateElementFactory)constructor, and show NavigationView header and separator items in the data binding sample, by Niels Laute (@niels9001) in #2258 - Use the experimental
SetThemeResourceBindingfor theme-aware resources set from code, which fixes brushes that didn't update on theme change, by Niels Laute (@niels9001) in #2259 - Refined XamlResources examples with InfoBars by Zakaria Tahri (@Zakariathr22) in #2271
Accessibility
- Fix Canvas slider Narrator announcement by Protik Biswas (@protikbiswas100) in #2202
- Fix keyboard navigation for the ConnectedAnimation ItemsRepeater sample by Protik Biswas (@protikbiswas100) in #2206
- Update Axe.Windows by Vineeth (@vineethkuttan) in #2207
- Fix missing accessible name on AppWindow sample Close buttons by Harini Malothu (@HariniMalothu17) in #2208
- Fix keyboard focus trap in the StoragePickers sample by Harini Malothu (@HariniMalothu17) in #2209
- Fix low color contrast of the spatial audio caption in dark mode by Harini Malothu (@HariniMalothu17) in #2210
- Fix Go Back button focus obscured in the ConnectedAnimation detail sample by Harini Malothu (@HariniMalothu17) in #2212
- Bring keyboard-focused controls into view on the Easing Functions page by Harini Malothu (@HariniMalothu17) in #2213
- Fix focus indicator overlapping radio buttons in the Border sample by Suraj Kumar Gupta (@suragupta-msft) in #2214
- Fix accessible names that repeat control roles by ayushjai19 in #2243
- Fix ItemsView sample truncation in portrait orientation by Harini Malothu (@HariniMalothu17) in #2249
Fixes
- Fix a TableView
NullReferenceExceptionin trimmed (Store) builds by Niels Laute (@niels9001) in #2265 - Enable mouse and touch inking in the InkCanvas toolbar and save/restore samples by Niels Laute (@niels9001) in #2266
- Use the standard info icon for the Status & info navigation category by Florian Blasius (@FlorianBlasius) in #2270
- Remove outdated color warning and update colors by Jay (@Jay-o-Way) in #2170
- Fix missing closing tag in the SystemBackdrop Acrylic sample by Mahmoud Elgohary (@melgoharyme) in #2188
- Fix
WinUIBaseUrlby hoshiizumiya in #2194 - Correct Flyout XAML in the AppBarButton example by hoshiizumiya in #2201
- Remove Storage Picker focus workaround by Niels Laute (@niels9001) in #2225
- Fix
PreferredHeightOptionspelling in the AppWindow example by Yexuan Xiao (@YexuanXiao) in #2227 - Fix malformed XAML in 13 sample bundles by Jaylyn Barbee (@Jaylyn-Barbee) in #2228
- Publish withheld XAML when the sample's own C# declares the type by Jaylyn Barbee (@Jaylyn-Barbee) in #2236
- Reformat the AppWindow InfoBar warning by Zakaria Tahri (@Zakariathr22) in #2241
- Remove hard-coded
ColorValuefrom ColorTile by @Copilot in #2242 - Set
SelectsOnInvokedtoFalseon items that don't navigate by eduardobragaxz in #2244 - Remove special-case Windowing item sorting by Marcel W. (@marcelwgn) in #2246
Infrastructure
- Remove the wapproj by Tera (@0x5bfa) in #2171, with cleanup by Marcel W. (@marcelwgn) in #2184
- Remove unnecessary csproj definitions by Tera (@0x5bfa) in #2183
- Use
ApplicationDataSettingsProviderby Mahdi Hosseini (@ghost1372) in #2197 - Windows App SDK 2.1.3 by Niels Laute (@niels9001) in #2181 and 2.2.0 by Mahdi Hosseini (@ghost1372) in #2196
- Version bumps by Marcel W. (@marcelwgn) in #2187 and #2217, and to 3.0 by Niels Laute (@niels9001) in #2254
- Guarded Store release pipeline by Niels Laute (@niels9001) in #2218 and #2222
- Updated README screenshot by Zakaria Tahri (@Zakariathr22) in #2240
- Fix CA1310 culture-sensitive string comparisons by Niels Laute (@niels9001) in #2260
- Auto-generated 1ES pipeline baselines in #2220
- Store package flight support in the release pipeline by Niels Laute (@niels9001) in #2257, and release branches in the publishing runbook in #2263
New contributors
- Mahmoud Elgohary (@melgoharyme) made their first contribution in #2188
- hoshiizumiya made their first contribution in #2194
- Protik Biswas (@protikbiswas100) made their first contribution in #2202
- Vineeth (@vineethkuttan) made their first contribution in #2207
- Harini Malothu (@HariniMalothu17) made their first contribution in #2208
- Suraj Kumar Gupta (@suragupta-msft) made their first contribution in #2214
- Jaylyn Barbee (@Jaylyn-Barbee) made their first contribution in #2228
- eduardobragaxz made their first contribution in #2244
- ayushjai19 made their first contribution in #2243
- Pranav Gupta (@pranav-gupta-msft) made their first contribution in #2251
- Nitin Chaudhary (@Nitin-100) made their first contribution in #2261
- Florian Blasius (@FlorianBlasius) made their first contribution in #2270
Full Changelog: v2.9.3...v3.0.4