WPF Controls v22.1 Released

by Avatar Bill Henning (Actipro)
Tuesday, December 14, 2021 at 4:03pm

This version includes new controls, new WindowChrome features for Windows 11, many improvements for SyntaxEditor and its add-ons, updates to nearly all WPF products, and now includes .NET 5 assemblies in the NuGet packages with validated .NET 6 compatibility.

See the related announcement post for the detailed list of enhancements and updates.

Download Buy Now

Here's a look at some of the new features.

Shared Library

User Prompts

Added a rich API that can create modern, themed dialogs for anything from simple messages and confirmations, to more advanced scenarios like exception notification dialogs or file copy dialogs.

An example exception dialog with multiple optional sections, all of which can be configured to any custom content

We even include a ThemedMessageBox object with static methods that match the native WPF MessageBox API.  Our themed version of the MessageBox uses a chromed WPF Window instead of Win32 dialogs (as the default WPF MessageBox does), along with fluent icons.  This is important when your app is in a dark theme because it allows all message/confirmation dialogs to match the theme.  You can instantly modernize all message box display in your app to our implementation with a single line of code too.

ToggleSwitch

Added a new control that is often seen as a replacement for a traditional CheckBox in modern user interfaces.

The three available states in the default ToggleSwitch style

It's easy to customize the appearance of ToggleSwitch to support other styles as well.

PopupButton

Made numerous updates to PopupButton to improve focus handling, tooltip display, key handling, and knowing when to close itself.

Themes

WindowChrome Windows 11 Support

WindowChrome has added support for Windows 11 where it will use rounded corners and system-rendered drop shadows.  In addition, hovering over the title bar's Maximize or Restore buttons will show the Windows 11 Snap Layout menu.

WindowChrome now renders Windows 11 windows with rounded corners, system drop shadows, and supports the Snap Layout menu

SyntaxEditor

Synchronization QuickStart

A new sample demonstrates synchronizing the scroller and splitter of one editor instance with another.

Drag and Drop

Improved drag/drop interaction and related scrolling in several scenarios, and add a new Drag and Drop QuickStart sample.

Single-Line Mode QuickStart

Added a formula example with alternate style for nested parentheses.

Styles that highlight nested parentheses

Editing and Caret Movement

Made many small improvements in the areas of editing and caret movement, especially in certain special contexts.

IntelliPrompt

Improved popups to reposition themselves as the editor is scrolled.

Multiple IntelliPrompt popups

Vertical Scrolling

The vertical scrollbar has been updated to handle collapsed regions more smoothly.

SyntaxEditor .NET Languages Add-on

C# Parser

Updated to support C# 8.0 syntax.

Go To Definition QuickStart

A new sample that demonstrates using an IResolver to navigate to the source of a reference.

C# Outlining

The outliner will now create nodes for code-level constructs such as block statements by default.

Code outlining now works on blocks, like 'for' statements

SyntaxEditor Web Languages Add-on

JavaScript Parser

Updated to support ECMAScript 2021 (12 Edition) syntax.

JSON Syntax Language

Added a constructor for whether the language should support JavaScript style comments, as in Microsoft’s JSONC variant.

Optional JavaScript comment support in JSON

SyntaxEditor Python Language Add-on

Python Parser

Updated to support Python v3.9.5 syntax.

Python Resolver

Updated to support namespace packages.

Grids

FilterApplied Event

Added a FilterApplied event that is raised after the current filtering state has been applied to all of the control's items, generally occurring when DataFilter is changed, or filtering is enabled or disabled

TreeListBox Updates

Added a new item adapter method that can improve performance in large trees when searching for a tree node, and improved focus tracking and filtering.

Editors

Commit Trigger Changes

Updated edit box commit triggers so that commit on focus loss is now optional.

Improved Cultural Support

Updated the numeric edit boxes to support input of Full-width and Arabic-Indic digits.

Charts and Micro Charts

New Aggregation Kinds

Added SignedMaximum and SignedMinimum aggregation options that compare against absolute values while retaining the sign of the original value; e.g., -5 is greater than 4.

.NET 5 Assemblies Added to NuGet Packages

The WPF Controls NuGet packages on nuget.org now contain compiled product assemblies that target:

  • .NET 5
  • .NET Core 3.1
  • .NET Framework 4.5.2

Projects that target .NET 5 or later will use the .NET 5-based assemblies, and projects that target .NET Framework 4.5.2 or later will use the .NET Framework 4.5.2-based assemblies.

.NET 6 Support

We’ve also validated that our assemblies work great in .NET 6 applications.

UWP Controls v2020.1 Build 354 Maintenance Release

by Avatar Bill Henning (Actipro)
Tuesday, July 13, 2021 at 12:25pm

Our v2020.1 UWP controls have been updated with a new maintenance release that is now ready for download. 

See this announcement post for the detailed list of enhancements and updates.

Download Buy Now

UWP Controls v2020.1 Build 353 Maintenance Release

by Avatar Bill Henning (Actipro) - 1 comment
Monday, February 15, 2021 at 8:35pm

Our v2020.1 UWP controls have been updated with a new maintenance release that is now ready for download. 

See this announcement post for the detailed list of enhancements and updates.

Download Buy Now

UWP Controls 2020.1 Released

by Avatar Bill Henning (Actipro)
Tuesday, March 31, 2020 at 3:40pm

We are pleased to announce the release of the 2020.1 version of our UWP Controls.  

This announcement post contains the detailed list of updates in the 2020.1 version.  Please be aware that Windows 10 Fall Creators Update (version 1709) or later and usage of the Microsoft's free 'Win2D.uwp' NuGet package are required.

Download Buy Now

While the version includes a wide number of small updates and bug fixes, let’s take a look at a handful of the larger updates.  

Editors

AutoCompleteBox 

AutoCompleteBox now has a SelectedItemChanged event and an InputMode property, that alters input behavior.  Search mode is the default and is intended for usage when the control is providing search-like functionality, commonly seen in application title bars.  ComboBox mode is an alternate mode intended for use when the control should be used in more traditional ComboBox-like scenarios.  When in ComboBox mode, the popup list filter turns off when not typing in the control, allowing the entire list to be browsed when interacting with the control purely via the popup.

Swatch-Only Display

BrushEditBox and ColorEditBox now have a HasText property that allows you to hide the text portion of the edit box for a swatch-only display.

Dates and Times

DateEditBox and TimeEditBox now accept delimiter-less input for several additional custom formats.

Large Incremental Changes

Numeric edit boxes now support large incremental changes when holding Shift while pressing Up/Down or rotating the mouse wheel.

Custom Format Strings

Several numeric edit boxes now support custom format strings with semi-colon conditional format specifiers.

Grids

We've added a PropertyGrid.RequestRefresh method that can be called to tell the PropertyGrid to refresh its contents.

SyntaxEditor

Search Overlay Pane

A new background renders the search range when the search overlay pane is in Selection scope mode.

A new property allows you to disable key bindings that would activate the search overlay pane, which is useful if you have an external search UI.

Logic related the selection scope searching has been improved.

Ctrl+Enter can be pressed to execute a Find All search operation when the Find textbox has focus and the find all button is visible.

IntelliPrompt

New methods allow completion list items to be added much faster, dramatically improving performance.

Color Picker Comparison Values

by Avatar Bill Henning (Actipro)
Tuesday, March 12, 2019 at 2:27pm

When picking colors, it’s very beneficial for an end user to compare the initial (previously-selected) color with the currently-selected color.  This new Editors feature was added to the WPF and UWP color pickers in yesterday’s maintenance release.

Let’s see how this works with a ColorEditBox instance, our rich editor for color selection.  Please excuse the GIF image dithering.  The actual control has vibrant gradients.

The ColorEditBox drop-down picker showing value comparison

The hue slider's inner circular area on the drop-down color picker shows the initial color value when the drop-down is opened.  As the end user alters the selected color, the right half of the circle updates to show the newly-selected color, while the left half of the circle continues showing the initial color value.  This allows the old and new values to be compared side-by-side.

The features described above are available in the Editors for WPF and Editors for UWP products.

Download Buy Now