WPF Controls v21.1.2 Maintenance Release

Announcements Forum

Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

A new maintenance release of the WPF Controls is now available.

Detailed Update List

Docking/MDI

  • Added the TabbedMdiHost.MinTabExtent and MaxTabExtent properties that determine the size range of all tabbed MDI tabs.
  • Improved a couple splitter visualization features.
  • Improved tab rendering for high-DPI scenarios.
  • Updated focus handling within the StandardSwitcher to better support screen readers.
  • Updated StandardSwitcher items to use document window filenames as UIA help text.
  • Updated the DockSite.WindowsDragged event to fire after related layout changes have fully completed.
  • Fixed a bug where ToolWindowContainer context menus may not show up in the correct location.
  • Fixed a bug where changing a selected tab's layout kind didn't always ensure the tab remained fully-visible.
  • Changed the default value of AdvancedTabItem.CanClose to be true, which is more natural since that property combined with AdvancedTabControl.HasTabCloseButtons (already defaulted false) and CanTabsCloseOnMiddleClick (now defaults false) determines how the related features behave. These changes only affect standalone AdvancedTabControl usage.

Editors

  • Improved AutoCompleteBox automation property configuration.

Gauge

  • Fixed a bug with how the DigitalGauge.CharacterPadding property was used in arrange logic.

Ribbon

  • Adjusted tab variant measure logic.
  • Updated how the name is returned by Ribbon button automation peers.
  • Fixed an issue with menu mode handling where menu mode might not be cleared properly if focus is acquired after already in menu mode without having been notified that prior focus was lost.
  • Fixed a bug where an overflowed ContextMenu would not properly display scroll buttons, due to a change in a previous version.
  • Fixed a bug where application menu child popups may not measure correctly in a certain scenario.

SyntaxEditor

  • Added completion item inline descriptions that can render optional text along the right side of a completion list item. Updated the .NET Languages Add-on's Completion Override QuickStart to demonstrate the new feature.
  • Added the ICodeSnippetTemplateSessionEventSink.NotifySessionOpening method, allowing for code snippet declaration default text customization prior to text insertion.
  • Added the The SyntaxEditor.CanPointerWheelScrollUnfocusedViews property that can be set to false to prevent unfocused editor views from mouse wheel scrolling.
  • Added the CompletionFilter.KeyGesture property and support for key gestures to toggle filter UI buttons and tabs. Updated the Completion List Filtering QuickStart to demonstrate the new feature.
  • Added a new Adornments Highlight Range QuickStart to demonstrate how to manually tag any range of text with a custom classification and highlighting style.
  • Improved squiggle line height to scale with font size.
  • Improved the IOutliningManager.CollapseToDefinitions logic.
  • Improved the line commenter logic for determining the selection after a change.
  • Improved the token-caching mechanism.
  • Improved the logic for selection updates when text ranges are collapsed.
  • Improved the logic for selection updates as a result of text changes.
  • Improved the indentation guide display logic for scenarios with blank lines.
  • Improved the UI automation peers for the IntelliPrompt completion list.
  • Improved the print dialog to support various page range options.
  • Improved the copy/cut line logic when on the last view line.
  • Improved the line number margin to support bold/italic fonts.
  • Improved the scrolling experience when selecting in virtual space.
  • Improved how semi-transparency is managed for the search overlay pane.
  • Improved outlining margin rendering.
  • Updated the maximum document TabSize to 32.
  • Updated a quick info session to close when a pointer wheel is scrolled.
  • Updated a quick info session to close when its target SnapshotRange is changed to zero-length while the session is open.
  • Updated the scroll distance when clicking on a scrollbar track.
  • Updated clicks in various view locations to ensure the containing view is focused.
  • Updated clicks in the outlining margin to select the view line.
  • Updated how outlining nodes expand in response to text changes around them.
  • Updated the trigger logic for an auto-corrector.
  • Updated Esc key handling while incremental search mode is active to deactivate the mode, but not collapse the selection.
  • Updated the left/right selection adjustment edit actions to support virtual space without having to hold Alt when in Block selection mode.
  • Updated the EditorSnapshotChangingEventArgs/EditorSnapshotChangedEventArgs.TypedText properties to no longer require a single operation. As a result, incremental search and parameter info can now function with block and multiple selections.
  • Updated changes to SyntaxEditor.ZoomLevel to be applied instantly to view zoom levels when SyntaxEditor is not loaded.
  • Updated text changes that retain selection to not scroll the editor view to the caret.
  • Refactored how text offsets are mapped to view character indices and vice versa.
  • Refactored how text selection over a collapsed outlining node is handled.
  • Refactored how SyntaxEditor.DocumentTextChanged events are raised to ensure that they occur in snapshot version order.
  • Increased the maximum outlining node depth.
  • Fixed a bug where clicking in the number number margin for the view's last visible line would scroll the view.
  • Fixed a bug where deleting a zero-length selection at the end of a line could also delete a collapsed outlining node on the next line.
  • Fixed a bug where changing the SyntaxEditor.TextAreaFontSize property might not immediately update the editor view.
  • Fixed a bug where typing at the start of an outlining node may not shift offsets properly.
  • Fixed a bug where certain edits around collapsed outlining nodes could lead to an invalid state.
  • Fixed a bug where the selection may be incorrect following certain block-based text changes.
  • Fixed a bug where the drag/drop caret could show in multiple editor views.
  • Fixed a bug where incremental search could be deactivated by an auto-correct.
  • Fixed a bug where word-based selection around a collapsed outlining node could expand the node.
  • Fixed a bug with the rendering of an open collapsed outlining node at the end of a document.
  • Fixed a bug with how the view line maximum width cache is updated.
  • Fixed a bug with unused regions within a collapsed region.
  • Fixed a bug in the hit-testing logic.
.NET Languages Add-on
  • Added C# extern alias support via the new IProjectAssemblyReference.Aliases collection.
  • Improved probing logic for system assembly XML DocComment files.
  • Improved enumeration of IBinaryAssemblyReferenceCollection to use thread locking.
  • Improved handling of FileNotFoundException when loading binary assemblies.
  • Updated the IntelliPrompt completion list's filters to support key gestures.
  • Updated the resolver to better handle a certain lambda expression scenario.
Python Language Add-on
  • Updated the IntelliPrompt completion list's filters to support key gestures.
  • Fixed a bug in the resolver related to packages and modules.

Themes

  • Updated WindowChrome to not have title bar content contribute to the measured window width when using Window.SizeToContent.
  • Fixed a bug where tooltips might not size correctly in a certain scenario.

Views

  • Fixed a bug where a Book control may fail to render in the Visual Studio designer.

Shared

  • Improved ElementChrome border rendering in a certain scenario.
  • Updated the PopupButton.PopupClosed event to fire after the popup is visually hidden.

Theme Designer

  • Added a Resource Browser context menu item to copy the color value for solid color brush resources.


Actipro Software Support