Next release of WPF UI mainly consist of fixes provided by our wonderful community. Many people have put their hearts into working on the library.
The new version is now available on NuGet:
https://www.nuget.org/packages/WPF-UI/4.1.0
We have also added support for .NET 10 and several experimental tests with the amazing FlaUI library.
Instructions for GitHub Copilot and other agents working with MCP have also been added. I hope this will help with documentation in future releases.
Special thanks go to @Nuklon for numerous quality of life improvements, Win32 refactoring, and a number of general library performance enhancements. @chucker also added corrections and kept track of many of the changes that were made. @apachezy and @jbryknar added valuable improvements.
I would like to thank everyone else who contributed their time and enthusiasm.
Leszek aka @pomianowski
What's Changed
- feat: Update to .NET 10, bump version to 4.1.0 by @pomianowski in #1575
- feat(controls): Fix Calendar styling by @Nuklon in #1570
- feat(windows): Added event to forward
TitleBarHwndProc to avoid adding additional hooks and timing issues by @Difegue in #1475 - feat(controls): Add IsTopSeparatorVisible and IsFooterSeparatorVisible properties to
NavigationViewcomponent by @evandrofadul in #1464 - fix(win32):
PInvokecleanup by @Nuklon in #1569 - fix: MenuItem hover animation disappears after click by @jbryknar in #1451
- fix: CalendarDatePicker icon disappears when multiple instances are used by @jbryknar in #1452
- Fix paste issue with PasswordBox and asterisk by @jbryknar in #1455
- fix:
NullReferenceExceptioninSplitButtonby @Nuklon in #1463 - fix: Scrollbar alignment by @Nuklon in #1462
- fix: Check DwmIsCompositionEnabled result by @Nuklon in #1548
- fix: Window Title Bar and Maximize Icon Not Updated Correctly When Restoring Maximized State via Code #1453 by @Davidlegendre in #1466
- fix: CardExpander is difficult to expand by @maihcx in #1552
- fix: Navigation buttons jumping. by @apachezy in #1542
- fix: make
UiApplicationinstance thread-static instead of static by @chucker in #1553 - fix(ListView): use themed disabled background instead of SystemColors.ControlBrush by @apachezy in #1554
- fix(LeftNavigationViewTemplate): release layout space when AutoSuggestBox is null or invisible by @apachezy in #1556
- fix: UpdateAutoSuggestBoxSuggestions When MenuItems_CollectionChanged by @scanfing in #1558
- test: Create new integraiton tests with FlaUI UIA3 and XUnit v3; format XAML by @pomianowski in #1559
- fix: Rollback XAML styling by @pomianowski in #1563
- fix:
PasswordBoxissues with pasting/copying by @Nuklon in #1547 - fix: Make
NotifyIconcontextmenu display properly by @IOL0ol1 in #1534 - fix: Prevent unexpected
ContentDialogbehavior at design time. by @apachezy in #1543 - fix: Unexpected separators in
NavigationViewCompactby @ROBdk97 in #1541 - fix(controls): Wrapped header and increased right margin to prevent overlapped by buttons in
MessageBoxby @Fruchtzwerg94 in #1545 - fix(tray): System tray right-click
Menunot displaying by @joesdu in #1497 - fix(controls): Restore window resize capability in
TitleBararea by @apachezy in #1560 - feat(controls): Allow changing
NavigationViewItemborder thickness by @Nuklon in #1532 - fix(controls): Check if
UIElementis connected to presentation source by @Nuklon in #1533 - fix(controls):
NavigationViewtop separator by @Nuklon in #1530 - fix(controls): Add missing ContentTemplate's to
NavigationViewby @Nuklon in #1529 - fix(controls):
ToolTiptaking parent line height and font weight into account by @Nuklon in #1525 - fix(controls):
DropDownButtonnot working inside ToolBar overflow by @Nuklon in #1523 - fix(controls):
RadioButtonstyle by @Nuklon in #1522 - fix(controls):
ToggleSwitchignoring Padding by @Nuklon in #1521 - fix(controls):
NavigationViewBasePaneButtonStyleusing wrong colors and animation by @Nuklon in #1524 - fix(controls): Tooltips, context menu, and comboboxes drop shadow by @Nuklon in #1472
- fix(controls):
DatePickerfocus by @Nuklon in #1516 - fix(controls): {Password/Text}Box clear button design by @Nuklon in #1520
- feat(controls): Add setting border color + fix background extending inside
FluentWindowby @Nuklon in #1508 - fix(controls): Add missing "pressed" colors for
CheckBoxby @Nuklon in #1510 - feat(controls): Add
CheckBoxanimation by @Nuklon in #1512 - fix(controls):
ToggleSwitchTODO and add missing pressed colors by @Nuklon in #1513 - fix(controls): Fix
SplitButtonvarious issues by @Nuklon in #1498 - fix(controls):
ComboBoxdoes not work with grouping by @Nuklon in #1478 - fix(controls): Make
RadioButtonuse PointerOver style by @Nuklon in #1506 - fix(controls):
TreeViewItemgoing out of bounds by @Nuklon in #1482 - fix(controls):
ComboBoxnot respecting container by @Nuklon in #1477 - fix(controls): Support ContentTemplate in
ToggleSwitchby @Nuklon in #1502 - fix(controls):
HyperlinkButtonnot having a hand cursor + updating colors by @Nuklon in #1491 - fix(controls):
CheckBoxbeing too big by @Nuklon in #1468 - fix(controls):
ListViewvirtualization not working when grouping by @Nuklon in #1486 - fix(controls):
MenuItemfocus going outside element by @Nuklon in #1471 - feat(controls): Allow specifying a background for a
ListViewItemby @Nuklon in #1480 - fix(controls): Fix buttons with appearance by @Nuklon in #1473
- feat(controls): Allow customizing
MenuItemwith SubMenuItem's Background by @xylieong in #1479 - fix(controls): Fix
NavigationViewItemnot respecting NavigationViewItemBackground by @Nuklon in #1470 - fix(controls): Wrong accent colors by @Nuklon in #1492
- fix(controls): Fix various fill colors by @Nuklon in #1507
- fix(controls): Fix
PasswordBoxvarious issues by @Nuklon in #1501 - fix: Remove border when inactive, update docs, instructions and format code by @pomianowski in #1564
- fix(controls): Prevent keyboard focus on hidden buttons in ContentDialog by @apachezy in #1565
- fix(controls): Fix TopSeparator and FooterSeparator rendering in LeftNavigationView by @apachezy in #1567
- fix(interop): Correct LPRECT parameter type for AdjustWindowRectEx in User32 by @apachezy in #1566
- fix(controls): Prevent keyboard focus on hidden buttons in MessageBox by @apachezy in #1574
- fix(controls): Remove MinWidth of TabItem by @Bintel in #1568
- fix(controls): CardExpander has inconsistent CornerRadius by @maihcx in #1577
- chore: Update DocFX config by @pomianowski in #1576
New Contributors
- @Nuklon made their first contribution in #1463
- @Davidlegendre made their first contribution in #1466
- @maihcx made their first contribution in #1552
- @apachezy made their first contribution in #1542
- @ROBdk97 made their first contribution in #1541
- @Fruchtzwerg94 made their first contribution in #1545
- @joesdu made their first contribution in #1497
- @evandrofadul made their first contribution in #1464
- @Bintel made their first contribution in #1568
Full Changelog: 4.0.3...4.1.0