
Improves Ribbon, Docking and Editors controls.
Features
- Docking
- Improved floating dock hosts to include their primary document's title in the containing Window's title bar text. This allows floating documents to be identified easier in the Microsoft Windows taskbar and when using Alt+Tab.
- Added new DockSite.ActivateNextTab and ActivatePreviousTab methods, which are called by new Ctrl+PgDn and Ctrl+PgUp keyboard shortcuts respectively.
- Added new DockSite.FloatingWindowTitleDelimiter property and the virtual DockSite.GetFloatingDockHostTitle method that can be overridden to further customize the floating dock host title bar text.
- Improved support for DockingWindow.ContainerMinSize to influence the minimum size of floating document windows.
- Improved focus tracking related to WebView2 controls.
- Improved the ToolWindowContainer UIA peer tree to include the title bar panel.
- Updated the DockSite.WindowsStateChanged event to be raised slightly earlier in the layout change logic.
- Editors
- Improved handling of minimum and maximum dates in DateTimeEditBox and MonthCalendar.
- Updated how the Foreground is set for non-editable edit boxes.
- Ribbon
- Updated logic for generating context menus to recognize a scenario where a ContextMenu was already defined on a control.
- Themes
- Added new WindowChrome.BackdropKind property, which adds support for Mica and Acrylic backgrounds on recent Windows versions.
- Added attached WindowChrome.IsTitleBarBackdropAllowed property, which determines if a backdrop can render in the title bar area of a window.
- Added a new WindowChrome Backdrop QuickStart sample to demonstrate the new backdrop rendering features.
- Added attached WindowChrome.IsOverlayFocusScope property, defaulting to true, that can be set on a Window to determine if its overlay should be a focus scope or not.
- Updated WindowChrome window resizing to block core WPF from raising a mouse move event while resizing is in progress.
- Updated WindowChrome to not show the window title bar menu for Alt-based shortcuts other than Alt+Space.
- Shared
- Added UserPromptControl properties ContentMaxWidth and ContentMaxHeight to constrain the maximum size of content.
- Added new EnvironmentHelper class, with several helper methods for determining the current operating system's version and supported features.
- Improved ThemedMessageBox to automatically increase the width of the prompt to handle large messages and fallback to vertical scrolling if the message exceeds the screen height.
- Updated several built-in window title bar button theme styles to support closing a PopupButton's menu when clicking the button again while the menu is open.
- Refactored internal Win32 interop code.
- All
- Improved the product installer.
- Changed the product installer to install shortcuts and samples to folders accessible by all users.