github lepoco/wpfui 4.1.0

16 hours ago

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 TitleBar HwndProc to avoid adding additional hooks and timing issues by @Difegue in #1475
  • feat(controls): Add IsTopSeparatorVisible and IsFooterSeparatorVisible properties to NavigationView component by @evandrofadul in #1464
  • fix(win32): PInvoke cleanup 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: NullReferenceException in SplitButton by @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 UiApplication instance 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: PasswordBox issues with pasting/copying by @Nuklon in #1547
  • fix: Make NotifyIcon contextmenu display properly by @IOL0ol1 in #1534
  • fix: Prevent unexpected ContentDialog behavior at design time. by @apachezy in #1543
  • fix: Unexpected separators in NavigationViewCompact by @ROBdk97 in #1541
  • fix(controls): Wrapped header and increased right margin to prevent overlapped by buttons in MessageBox by @Fruchtzwerg94 in #1545
  • fix(tray): System tray right-click Menu not displaying by @joesdu in #1497
  • fix(controls): Restore window resize capability in TitleBar area by @apachezy in #1560
  • feat(controls): Allow changing NavigationViewItem border thickness by @Nuklon in #1532
  • fix(controls): Check if UIElement is connected to presentation source by @Nuklon in #1533
  • fix(controls): NavigationView top separator by @Nuklon in #1530
  • fix(controls): Add missing ContentTemplate's to NavigationView by @Nuklon in #1529
  • fix(controls): ToolTip taking parent line height and font weight into account by @Nuklon in #1525
  • fix(controls): DropDownButton not working inside ToolBar overflow by @Nuklon in #1523
  • fix(controls): RadioButton style by @Nuklon in #1522
  • fix(controls): ToggleSwitch ignoring Padding by @Nuklon in #1521
  • fix(controls): NavigationViewBasePaneButtonStyle using wrong colors and animation by @Nuklon in #1524
  • fix(controls): Tooltips, context menu, and comboboxes drop shadow by @Nuklon in #1472
  • fix(controls): DatePicker focus 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 FluentWindow by @Nuklon in #1508
  • fix(controls): Add missing "pressed" colors for CheckBox by @Nuklon in #1510
  • feat(controls): Add CheckBox animation by @Nuklon in #1512
  • fix(controls): ToggleSwitch TODO and add missing pressed colors by @Nuklon in #1513
  • fix(controls): Fix SplitButton various issues by @Nuklon in #1498
  • fix(controls): ComboBox does not work with grouping by @Nuklon in #1478
  • fix(controls): Make RadioButton use PointerOver style by @Nuklon in #1506
  • fix(controls): TreeViewItem going out of bounds by @Nuklon in #1482
  • fix(controls): ComboBox not respecting container by @Nuklon in #1477
  • fix(controls): Support ContentTemplate in ToggleSwitch by @Nuklon in #1502
  • fix(controls): HyperlinkButton not having a hand cursor + updating colors by @Nuklon in #1491
  • fix(controls): CheckBox being too big by @Nuklon in #1468
  • fix(controls): ListView virtualization not working when grouping by @Nuklon in #1486
  • fix(controls): MenuItem focus going outside element by @Nuklon in #1471
  • feat(controls): Allow specifying a background for a ListViewItem by @Nuklon in #1480
  • fix(controls): Fix buttons with appearance by @Nuklon in #1473
  • feat(controls): Allow customizing MenuItem with SubMenuItem's Background by @xylieong in #1479
  • fix(controls): Fix NavigationViewItem not 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 PasswordBox various 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

Full Changelog: 4.0.3...4.1.0

Don't miss a new wpfui release

NewReleases is sending notifications on new releases.