Posted 12 hours ago
by Actipro Software Support
- Cleveland, OH, USA
A new WPF Controls release is now available.
Detailed Update List
Bars
- Added RibbonViewModel.SelectedItem property for the currently selected RibbonTabViewModel.
- Added an InvocationFocusBehavior property to most bar controls that determines how focus should be handled following the primary invocation of the control.
- Added DockableToolBarSerializerOptions.IsVisible flag to serializer/deserialize dockable toolbar visibility with layouts.
- Improved RibbonGallery keyboard navigation to better match Office behavior.
- Fixed an issue introduced in the previous build where XAML-defined ribbon gallery popups didn't render the implicit menu gallery correctly.
- Fixed an issue where galleries would incorrectly call the Execute method for preview events when RoutedCommand-based commands were used.
- Fixed an issue where in-ribbon galleries that were updated when their parent tab was not selected may not invalidate measurement.
- Fixed an issue restoring the location of a floating DockableToolBar in certain mixed DPI environments.
- Fixed an issue dragging a floating DockableToolBar in certain mixed DPI environments where the initial floating location would shift on mouse down.
- Updated the DockableToolBarHost.MenuOpening event to be raised when opening the options menu of a floating DockableToolBar.
- Updated RibbonBackstageTabViewModel so the Content property will default to itself. This improves the default experience of configuring data templates for each tab and makes it easier to see when a data template is not currently configured.
Charts
- Updated ChartMarker to be assigned the XYDataPoint data context for which it is created, which allows index or information from the original data to be retrieved and used in a custom marker template.
Docking
- Updated the DockSite.DocumentItemsSource and ToolItemsSource properties to use weak event handlers for INotifyCollectionChanged.CollectionChanged events.
- Updated StandardSwitcher item focus logic to work around a possible problem with DataGrid, when hosted within docking windows.
- Fixed an issue introduced in a previous build where dragging to float a docked window may not retain a similar size.
- Fixed an issue where dragging to float a docked window in a non-native WPF application context (e.g., MFC hosted) would not apply the proper DPI scale.
- Fixed an issue where non-live splitters in a non-native WPF application context (e.g., MFC hosted) would not apply the proper DPI scale.
Editors
- Added a CanSwatchStretch property to the ColorEditbox and BrushEditBox controls, which determines if the swatch stretches horizontally when the HasText property is false.
- Updated EnumEditBox, EnumPicker, and EnumListBox to have optional support for picking null as a value via new IsNullAllowed properties, useful when a nullable enumeration property is bound to the control's value to indicate a not-set state.
- Added NullValueText properties to EnumEditBox, EnumPicker, and EnumListBox, which allows the picker text representing a null value to be altered.
Grids
- Improved the rendering logic for tree lines.
- Updated TreeListBox.InvalidateChildren to retain the selection when possible.
- Updated TreeListBox logic for item searching by path.
- Updated TreeListBox selection logic for when an item is removed.
Ribbon
- Added a context menu to the empty area of tab content.
- Updated automatic ribbon-oriented context menus to not open for controls in the app menu's additional content area.
- Updated ColorPickerGallery items to use more high contrast border colors for states.
SyntaxEditor
- Updated the Theme Designer application to output numbers in code using invariant culture.
- Fixed an issue with how the view line manager dealt with special control characters at the end of a line.
.NET Languages Add-on
- Added the static CSharpLexer.OtherPreprocessorDirectives property, which allows additional custom preprocessor directives to be supported.
- Improved the C# resolver to better handle is pattern variable declarations in certain scenarios.
- Improved the C# parser's logic for handling local functions.
Python Language Add-on
- Improved Python code outlining to create nodes for all block statements, list expressions, and dictionary expressions.
Themes
- Updated the native ComboBoxItem template to better differentiate between selected and hover states.
- Updated the native ComboBox styles to properly clip drop-down button glyphs.
Views
- Added SettingsExpander properties ExpanderIcon, ExpanderIconTemplate, ExpanderIconTemplateSelector, and IsExpanderIconVisible that can be used to customize the appearance of the expansion indicator.
Shared
- Improved the crispness of rendered rectangles.
- Fixed an issue where UserPromptBuilder would not properly size a user prompt if the startup location was configured as CenterOwner and the owner could not be resolved.
- Fixed an issue where an exception might be thrown when attempting to setting UserPromptWindow.Title if the title could not be resolved.
Actipro Software Support