Skip to content

v0.11.0

Latest

Choose a tag to compare

@NotYoojun NotYoojun released this 28 Oct 03:56
· 1 commit to main since this release
  • fix: (HyperlinkButton) Click was raised twice per click; it is now raised once (#436)
  • refactor: (HyperlinkButton) remove the RaiseHyperlinkClicks workaround property (#436)
  • fix: (NavigationView) clicking an item's expand/collapse chevron no longer selects or invokes the item; it only expands or collapses it (#437)
  • fix: (NavigationView) items that were expanded before the pane closed, along with their selected child, are expanded again when the pane reopens (#437)
  • fix: (NavigationView) the automatic collapse/restore when the pane closes or opens no longer raises Expanding/Collapsed (#437)
  • fix: (NavigationView) selection indicator could overstretch past the target item during long selection jumps (#433)
  • fix: (Expander) collapsed Expander flashed at full height on initial load (#403)
  • fix: (Expander) NullReferenceException when an Expander was shown inside a ContentDialog or popup before its template was applied (#422)
  • fix: (Expander,SettingsExpander) expand/collapse animation now respects the Windows "Animation effects" setting (#432)
  • fix: (NumberBox) spin buttons could show light-theme colors in dark and high-contrast themes (#414)
  • fix: (FontIcon,IconAndText) changing Icon at runtime or through a binding now updates the glyph
  • feat: (FontIcon) add read-only ActualGlyph and ActualFontFamily properties, which hold the glyph and font actually rendered
  • refactor: (FontIcon,FontIconSource) Glyph and FontFamily no longer copy their values from Icon; when set, they take precedence over Icon
  • fix: (TitleBarControl,WindowHelper,InfoBar,SettingsCard,MessageBox,AnimatedIcon) memory leak: DependencyPropertyDescriptor subscriptions kept closed windows and their controls alive (#439)
  • fix: (ThemeManager,NavigationView) memory leak: shared static event args kept the last affected element and its window alive (#439)
  • fix: (ThemeManager) ActualThemeChanged now reports the correct OriginalSource, and setting e.Handled in one handler no longer suppresses later events (#439)
  • fix: (WindowHelper) changing UseModernWindowStyle or SystemBackdropType no longer stacks duplicate handlers on the window (#439)
  • fix: (TitleBarControl) UpdateButtonActualAvailabilities threw NullReferenceException when there was no parent window (#439)
  • fix: (Localization) control strings (e.g. NavigationView "Settings", InfoBar "Close") are now translated on .NET 6+ too; previously only .NET Framework had the translations (#445)
  • feat: (Localization) translations are embedded in the DLLs on every target framework, so apps get no per-language culture folders (#445)
  • fix: (Localization) Scottish Gaelic and Valencian resources use the standard culture names gd-GB and ca-ES-valencia (#445)
  • fix: (Package) lib/net452 no longer bundles its own copies of iNKORE.UI.WPF.dll and System.ValueTuple.dll; they come from the declared dependencies (#445)
  • fix: (Package) the license link on NuGet.org pointed to a missing page (#445)
  • feat: (Package) assembly versions now match the package version (#445)
  • docs: (ImageIconSource) the XML docs of ImageSource described the wrong type (#406)

Gallery

  • feat: (MenuFlyoutPage) add an example of a MenuFlyout with grouped RadioMenuItems (#360)
  • fix: (MenuFlyoutPage) sample code no longer includes the Gallery's internal x:Name (#360)
  • fix: (NavigationRootPage) navigation item and page went out of sync after visiting Settings or the search results page (#425)
  • fix: (TypographyPage) the page leaked after navigating away; the header image now follows the theme directly (#439)

Other

  • build: (Samples) samples now build against the library projects in the repo instead of old NuGet packages (#424)
  • docs: (README) add Community and Donate & Support sections; issue forms now ask for English
  • ci: every pull request and version tag now builds, packs and tests the package (layout, versions, and WPF apps built against it on .NET Framework and .NET 8); publishing a GitHub release pushes that tag's build to NuGet.org (#445)

Breaking Changes

  1. HyperlinkButton: RaiseHyperlinkClicks and RaiseHyperlinkClicksProperty have been removed. Click is now raised once per click, so the workaround is no longer needed; remove the property from your XAML and code. If you set RaiseHyperlinkClicks="False" together with NavigateUri, navigation used to be skipped and now happens; to handle navigation yourself, clear NavigateUri and navigate in the Click handler. (#436)
  2. FontIcon & FontIconSource: setting Icon no longer writes into Glyph and FontFamily, and both now default to null (previously "" and the Segoe icon fonts). Read FontIcon.ActualGlyph and FontIcon.ActualFontFamily to get what is actually rendered. An explicitly set Glyph or FontFamily now takes precedence over Icon regardless of the order they were set in; call ClearValue on them to switch back to Icon. FontIconSource.UpdateIconData(IFontIconClass, bool) has been removed, as this now happens automatically.
  3. MessageBox: the public field MessageBox.SystemBackdropTypeProperty_Descriptor has been removed. To react to WindowHelper.SystemBackdropType changes, override OnPropertyChanged in a subclass. (#439)