
Adds .NET 7 compatibility and improves Bars, Docking and SyntaxEditor components.
Features
- All
- Validated Microsoft .NET 7 compatibility.
- Added MetroDark color scheme.
- Added MetroScrollBarRenderer which supports MetroLight and MetroDark color schemes.
- Added IWindowsColorScheme interface that will replace most references to WindowsColorScheme.
- Added IWindowsColorScheme.GetKnownColor method which can return a scheme-appropriate color for supported known colors and should be used instead of SystemColors to allow for proper color adaptation on dark schemes.
- Added IUIRenderer.ColorScheme property to enable all renderers to derive appropriate colors from a color scheme.
- Added MarkupLabel.LinkColor and MarkupLabel.ActiveLinkColor properties to determine the default color of link elements when explicit colors are not defined by the anchor element.
- Improved high DPI support.
- Removed OS-level support to detect Microsoft Windows XP color schemes. Windows 7 and earlier will report WindowsClassic color scheme. Windows 8 and newer will report MetroLight color scheme.
- Improved scenarios where some controls might stop painting properly if exceptions were raised while painting was suspended.
- Updated the argument names of DrawingHelper.DrawRoundedRectangle and FillRoundedRectangle from offsetX/offsetY to radiusX/radiusY to better communicate the expected values and improved rendering of both methods.
- Updated all assemblies to be code-signed.
- Updated Microsoft .NET Framework 4.0 targets to .NET Framework 4.6.2 since it is the most recent supported version of .NET Framework.
- Updated Microsoft .NET 5 targets to .NET 6 since .NET 5 is out of support. Users can continue to use Microsoft .NET Core 3.1 targets for .NET 5 applications.
- Bars
- Added MetroStatusBarRenderer which supports MetroLight and MetroDark color schemes.
- Added BarRenderer.ApplyColorSchemeToBarCustomControlLink protected method to configure a custom to render consistently with the current color scheme.
- Improved BarCustomizeForm to support resizing with a responsive layout.
- Improved all implementations of IStatusBarRenderer to initialize colors from new "StatusBar*" properties on the configured color scheme instead of using system colors.
- Improved Office2003BarRenderer to default to Microsoft Windows XP Blue color scheme.
- Improved how VisualStudio2002BarRenderer determines if a menu uses discrete icons for check state.
- Improved menu separator rendering by moving indentation logic from BarMenuControl to VisualStudio2002BarRenderer.
- Replaced MetroLightBarRenderer with MetroBarRenderer which supports MetroLight and MetroDark color schemes.
- Docking
- Added DockGuideStyle.Modern which replaces the now deprecated Raised and Sunken styles with a modern look which supports DPI-aware custom color schemes.
- Added TabStripRenderer.AreImagesVisible property to control visibility of images on tabs for all renderers.
- Added new VisualStudioTabStripRenderer class as common base for Microsoft Visual Studio-style ToolWindow and DocumentWindow implementations of TabStripRenderer with consolidated functionality.
- Improved default context menus to support the current color scheme and improve rendering at high DPI settings.
- Improved dragging a docked ToolWindow to a floating position by setting the initial floating size the same as the docked size.
- Improved positioning when floating a ToolWindow for the first time by placing the ToolWindow on the same monitor as the dock site instead of the primary monitor.
- Improved translucent dock previews to use colors based on the current color scheme.
- Replaced MetroLightDockRenderer with MetroDockRenderer which supports MetroLight and MetroDark color schemes.
- Replaced MetroLightDocumentWindowTabStripRenderer with MetroDocumentWindowTabStripRenderer which supports MetroLight and MetroDark color schemes.
- Replaced MetroLightToolWindowTabStripRenderer with MetroToolWindowTabStripRenderer which supports MetroLight and MetroDark color schemes.
- Improved Microsoft Office 2003-based renderers to default to Microsoft Windows XP Blue color scheme.
- For Microsoft .NET Framework targets, replaced ContextMenu usage with the more modern ContextMenuStrip including the TabbedMdiWindowContextMenuEventArgs.DefaultContextMenu property type.
- Navigation
- Replaced MetroLightNavigationBarRenderer with MetroNavigationBarRenderer which supports MetroLight and MetroDark color schemes.
- Improved word-wrapped view lines to indent under their primary view line based on a new configurable SyntaxEditor.WrappedLineIndentAmount property.
- Improved Office2003NavigationBarRenderer to default to Microsoft Windows XP Blue color scheme.
- Improved NavigationBarRenderer.NavigationPaneButtonHeight by changing the default value from 32 to 38 to better accommodate 32x32 images.
- SyntaxEditor
- Added MetroSyntaxEditorRenderer which supports MetroLight and MetroDark color schemes.
- Added support for CommonImageSet.MetroDark which will use variants of common images that are suitable for a dark application theme.
- Added ITextSnapshot.GetWordText and GetWordTextRange method overloads which accept a TextOffsetAffinity argument.
- Improved NavigableSymbolSelector to support dark color scheme.
- Improved word-wrapped view lines to indent under their primary view line based on a new configurable SyntaxEditor.WrappedLineIndentAmount property. Updated the Word Wrap QuickStart to show off the new property.
- Improved TextSnapshot.TextRangeToPositionRange performance for zero-length text ranges.
- Improved keyboard-based context menu activation to display below the caret and respond to Shift+F10 shortcut.
- Improved the logic of the move selected lines up and down commands.
- Improved mouse handling on IntelliPrompt popups.
- Updated the visible whitespace rendering logic to include non-breaking space characters.
- .NET Languages Add-on
- Updated how an internal TypeReferenceCollection class initializes several properties for better multi-thread scenario support.
- Added attributes to BinaryAssemblyReferenceResolver to mark as obsolete any methods which are not supported on a particular framework or platform.
- Python Language Add-on
- Updated the Docstring property of the reflection definition types to use a beautified version of the string instead of raw string literal text.
- Wizard
- Refactored WizardPage layout logic.
- Improved IWizardRenderer to implement IUIRenderer interface.