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 @JesseCol in #2229, Window UX refinements by @niels9001 in #2234, and the update to 2.5.4-experimental by @pranav-gupta-msft in #2251 - Experimental controls:
FlowLayout,LayoutPanel,PagerControlandWrapPanelsamples with Experimental badges by @dotMorten in #2233 - TableView: five samples for the new native TableView by @dotMorten in #2250
- Inking:
InkCanvasandInkToolBarsamples by @dotMorten in #2245 - Charts: a new experimental Chart page covering line, bar, area, axes, markers, data labels, time series and live data by @Nitin-100 (building on @dotMorten's work) in #2261
- Better search: tag-based search by @marcelwgn in #2185, and a redesigned no-results state by @Zakariathr22 in #2255
- Sample catalog for tools: every page and sample is indexed in
catalog/windows-samples.jsonby @Jaylyn-Barbee in #2232
New and updated samples
- ListView
ScrollIntoViewandListViewPersistenceHelpersamples by @niels9001 in #2179 - Animated GIF sample on the Image page by @niels9001 in #2178
- File thumbnails sample by @niels9001 in #2177
- Stretchable title bar search box and drag region sample by @niels9001 in #2182
PipsPager.WrapModeoption by @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 @niels9001 in #2224
- Mouse back/forward button navigation by @hoshiizumiya in #2195
- Removed the ListBox sample by @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 @niels9001 in #2258 - Use the experimental
SetThemeResourceBindingfor theme-aware resources set from code, which fixes brushes that didn't update on theme change, by @niels9001 in #2259 - Refined XamlResources examples with InfoBars by @Zakariathr22 in #2271
Accessibility
- Fix Canvas slider Narrator announcement by @protikbiswas100 in #2202
- Fix keyboard navigation for the ConnectedAnimation ItemsRepeater sample by @protikbiswas100 in #2206
- Update Axe.Windows by @vineethkuttan in #2207
- Fix missing accessible name on AppWindow sample Close buttons by @HariniMalothu17 in #2208
- Fix keyboard focus trap in the StoragePickers sample by @HariniMalothu17 in #2209
- Fix low color contrast of the spatial audio caption in dark mode by @HariniMalothu17 in #2210
- Fix Go Back button focus obscured in the ConnectedAnimation detail sample by @HariniMalothu17 in #2212
- Bring keyboard-focused controls into view on the Easing Functions page by @HariniMalothu17 in #2213
- Fix focus indicator overlapping radio buttons in the Border sample by @suragupta-msft in #2214
- Fix accessible names that repeat control roles by @ayushjai19 in #2243
- Fix ItemsView sample truncation in portrait orientation by @HariniMalothu17 in #2249
Fixes
- Fix a TableView
NullReferenceExceptionin trimmed (Store) builds by @niels9001 in #2265 - Enable mouse and touch inking in the InkCanvas toolbar and save/restore samples by @niels9001 in #2266
- Use the standard info icon for the Status & info navigation category by @FlorianBlasius in #2270
- Remove outdated color warning and update colors by @Jay-o-Way in #2170
- Fix missing closing tag in the SystemBackdrop Acrylic sample by @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 @niels9001 in #2225
- Fix
PreferredHeightOptionspelling in the AppWindow example by @YexuanXiao in #2227 - Fix malformed XAML in 13 sample bundles by @Jaylyn-Barbee in #2228
- Publish withheld XAML when the sample's own C# declares the type by @Jaylyn-Barbee in #2236
- Reformat the AppWindow InfoBar warning by @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 @marcelwgn in #2246
Infrastructure
- Remove the wapproj by @0x5bfa in #2171, with cleanup by @marcelwgn in #2184
- Remove unnecessary csproj definitions by @0x5bfa in #2183
- Use
ApplicationDataSettingsProviderby @ghost1372 in #2197 - Windows App SDK 2.1.3 by @niels9001 in #2181 and 2.2.0 by @ghost1372 in #2196
- Version bumps by @marcelwgn in #2187 and #2217, and to 3.0 by @niels9001 in #2254
- Guarded Store release pipeline by @niels9001 in #2218 and #2222
- Updated README screenshot by @Zakariathr22 in #2240
- Fix CA1310 culture-sensitive string comparisons by @niels9001 in #2260
- Auto-generated 1ES pipeline baselines in #2220
- Store package flight support in the release pipeline by @niels9001 in #2257, and release branches in the publishing runbook in #2263
New contributors
- @melgoharyme made their first contribution in #2188
- @hoshiizumiya made their first contribution in #2194
- @protikbiswas100 made their first contribution in #2202
- @vineethkuttan made their first contribution in #2207
- @HariniMalothu17 made their first contribution in #2208
- @suragupta-msft made their first contribution in #2214
- @Jaylyn-Barbee made their first contribution in #2228
- @eduardobragaxz made their first contribution in #2244
- @ayushjai19 made their first contribution in #2243
- @pranav-gupta-msft made their first contribution in #2251
- @Nitin-100 made their first contribution in #2261
- @FlorianBlasius made their first contribution in #2270
Full Changelog: v2.9.3...v3.0.4