DevExpress WPF 24.1

Released: Jun 13, 2024

Updates in 24.1

Features

  • Accessibility and UI Automation
    • Assistive Technologies (Screen Readers) – Compatibility Enhancements
      • Enhanced the WPF Accessibility Tree for the following UI controls (assistive technologies obtain the necessary information to help address WCAG accessibility guidelines):
        • Layout Control.
        • Tab Control.
        • Ribbon Gallery.
        • Built-in Dialogs and Forms (such as Column Filter Popup, Bars Customization Window).
    • Screen readers (such as Narrator and NVDA) can now pronounce the following actions:
      • The user selects a row/node with the keyboard in the DevExpress WPF Grid or WPF TreeList control.
      • The user expands/collapses a node.
      • The user checks/unchecks a node.
      • The user moves focus to a WPF Ribbon Bar item.
      • The WPF Grid’s cell value is modified in code.
    • Screen readers can now access the following information:
      • Column/band name for the focused WPF Grid cell.
      • Focused WPF Grid row cell values in multi row selection mode.
      • The position of the focused cell among visible rows/columns.
      • The name of the New Item Row in DevExpress WPF Grid and TreeList controls.
      • Active cell editor type in the DevExpress WPF Grid.
      • DevExpress WPF ThemedMessageBox text.
      • DevExpress WPF Step Progress Bar items.
    • Accessible Keyboard Navigation
      • WPF Diagram Control - Improved keyboard navigation in the DevExpress WPF Diagram control. Users can now use the following keyboard keys:
        • Ctrl++ - Zooms in on the canvas.
        • Ctrl+- - Zooms out the canvas.
        • Ctrl+Space- Expands/collapses the focused container.
        • F4 - Opens the Properties window.
      • WPF Ribbon Control
        • Improved keyboard navigation within the WPF Ribbon control. Users can move focus to the "Expand/Collapse Ribbon" button using the Tab or Arrow key (Space and Enter keys expand/collapse the Ribbon). This release ships with improved keyboard navigation within BarSplitButtonItem:
          • Enter - Executes the main action.
          • Alt + DownArrow - Invokes the drop-down window.
      • Row Context Menus in the WPF Grid Control - Pressing the Context Menu Button invokes a context menu for the focused row.
      • WPF Office Navigation Bar - Users can now press Space or Enter to invoke an action associated with the focused item.
      • WPF Accordion Control - Pressing the Shift+Tab shortcut focuses the "Expand/Collapse" button.
      • WPF Track Bar Editor - Users can now focus each thumb of the range track bar editor with the keyboard.
  • DateOnly and TimeOnly Type Support - Added support for DateOnly and TimeOnly data types (in .NET applications). These data types offer the following advantages (versus the traditional DateTime type): usage clarity, improved database compatibility, less space during serialization, and the ability to mitigate potential errors/inconsistencies related to different time zones. Built-in DateOnly/TimeOnly support extends to:
    • UI Elements Related to Data Filtering (Column Filter Popup, Filter Editor, Expression Editor, Automatic Filter Row).
    • Conditional Formatting Rules.
    • Data Summaries.
    • Data Grouping.
    • Unbound Columns.
    • Criteria Operators.
    • Masks.
    • Search.
  • Grid
    • Export Cell Images to Excel - The WPF Data Grid now exports images (raster and SVG) displayed within cells of bound and unbound columns to XLSX format in data-aware export mode.
    • Filter by Color and Icon Set - Extended the user experience when using the WPF Grid Control (in TableView and TreeListView). Users can quickly filter data based on visual criteria (Icon Set and Color Scale format conditions). New APIs include:
      • TableView.AllowFormatConditionFiltersMenu - Displays/hides the "Format Condition Filters" submenu in context menus associated with all columns in a TableView (if conditional formatting is applied).
      • TreeListView.AllowFormatConditionFiltersMenu - Displays/hides the "Format Condition Filters" submenu in context menus associated with all columns in a TreeListView (if conditional formatting is applied).
      • AllowFormatConditionFiltersMenu - Displays/hides the "Format Condition Filters" submenu in the context menu associated with a specific column (if conditional formatting is applied).
    • Aggregate Filters - Added aggregate filter support to the WPF Data Grid. The Data Grid exposes a new AllowFilterEditorAggregateOperands property that allows users to filter data by items in bound collection data fields (for example, master-detail data). When enabled, the grid Filter Editor displays aggregated operands for collection properties/fields (SUM, COUNT, MIN, MAX, AVG, EXISTS). You can also customize the operand list (for example, hide unnecessary operands) for specific data columns using the AllowedAggregateFilters property.
  • Font Icon Images - Added support for Font Icon Images to the WPF UI library. Use the DevExpress WPF Image Picker (integrated within Visual Studio) to assign font icon images to individual UI controls/elements or use the FontIconSource extension to do the same in code.
  • Ribbon & Bars
    • Search Box - A Ribbon-based UI can include dozens of commands across multiple pages. Without prior experience with a given app, users can struggle to locate appropriate actions/commands. To minimize usage friction/learning curve, this release ships with a new WPF Ribbon Search Box.
      • You can enable an item's HideFromSearch option to exclude it from search. For more granular control, use the following events:
        • ItemsRequested - Fires when the searchable items list is generated. The event allows you to modify search results before applying the search criteria (for example, to add additional items based on a condition).
        • ItemFiltering - Fires for each item before it is displayed in search results. The event allows you to hide the item from search results.
        • ItemsFiltered - Notifies when a search is complete.
      • Additional settings include:
        • SearchDelay - Specifies the delay in milliseconds between the last text change and the text search.
        • SearchItemFocusShortcut - Specifies the keyboard shortcut used to focus the search box (the default shortcut is "Ctrl+F").
        • ShowDescriptionInSearchResults - Specifies whether to display the path to items within the DevExpress WPF Ribbon UI (Category > Page > Group).
  • PDF Viewer
    • Signature Info Panel - With the new Signature Info panel, you can display detailed information for each signature in the loaded document and verify signature validity. When you open a document, the PDF Viewer verifies signatures and displays associated status in the Signature panel (valid, invalid, or unknown). In addition, the new panel displays the following signature-related information:
      • Location of the signature in the document.
      • Signer's information.
      • Reasons the signature was created.
      • Date and time when the document was singed and modified once it was signed.
      • Certificate information.
    • Layers - PDF document layers allow you to selectively view or hide specific content sections. The main purpose of layers is to control the visibility of graphics objects rendered in a PDF document across different states (when you view or print a PDF document).
      • Added a Layers panel to display all layers contained in a document.
      • With the power of the PDF Facade API, you can also access and manage layer visibility at runtime when you preview or print your PDF documents.
  • Rich Text Editor
    • Export to Accessible PDF - Extended accessibility-related support to the following elements when exporting Word documents to accessible PDF files:
      • Table of Contents tagging.
      • Metadata fields.
      • Alt text handling.
      • Tables.
      • Floating objects.
    • Decorative Shapes - Added a Decorative property for the Shape class to mark document graphics (pictures, shapes, and charts) as decorative. Decorative shapes add visual interest, but they are not informative. Thus, you do not need to specify Alt Text (meaningful description) for decorative objects when you generate an accessible document.
    • Math Equations - The Rich Text Editor now preserves Math Equations when saving a document. You can import your Word documents with Math Equations in the WinForms Rich Text Editor and save them to the RTF and OpenXml (.docx/.docm) formats without content loss.
    • Gutter and Mirrored Margins - Added the ability to specify gutter margins - extra space that ensures binding will not obscure text on printed pages. You can specify gutter position (top, left, and right) and margin size.
    • Image Export API - This release includes new cross-platform APIs to export Word document pages to an image. This new capability allows you to generate document previews. With the new APIs, you can convert document pages to raster and vector images (PNG, JPEG, BMP, multi-page Tiff, emf), save them as physical files on the disk or obtain a list of image streams for further processing in code. You can also set image background color, modify output image resolution, or generate thumbnail images with a specified size.
    • Export Document Pages to SVG - The new Image Export APIs allow you to export document pages to SVG.
  • Property Grid
    • Customize Row Appearance - Added a PropertyGridControl.RowStyle property. Use this property to customize row appearance/style settings. You have full control over row appearance. You can apply row styles based on a condition, or you can use the new AlternationCount property to alternate row styles.
  • Spreadsheet
    • Accessibility Enhancements - Decorative Shapes - Added a Decorative property for the Shape class to mark document graphics (pictures, shapes and charts) as decorative. Decorative shapes add visual interest, but they are not informative. Thus, you do not need to specify Alt Text (meaningful description) for decorative objects when you generate an accessible document.
    • Justify and Distributed Text Alignment - This release adds support for Justify and Distributed horizontal alignment types within Spreadsheet cells. Excel files using these alignment options can be printed and exported to PDF. You can use the Cell.Alignment.Horizontal property to specify horizontal alignment in code.
    • Sort and Filter by Color - The DevExpress WPF Spreadsheet ships with enhanced filter and sort-related capabilities. New APIs have been added that can sort and filter workbook data by background and font color. Cell ranges filtered/sorted by cell color can also be printed and exported to PDF.
      • The Sorting APIs include new Worksheet.Sort method overloads designed to sort a specified range by font color or fill setting (background color and pattern).
      • The new APIs also allow you to sort data across a filtered range (when auto-filter is enabled) and sort cells by their values/colors simultaneously (using sorting conditions).
    • Export Cell Range to SVG - In this release, the CellRangeExtensions.ExportToImage method has been enhanced and support has been added for the SVG image format. SVG Export is also available from the user interface - open the Print Preview dialog, click the Export to Image button, choose the SVG format in the Image Options dialog and complete document export.
  • Lightweight Themes
    • Obtain Lightweight Theme Palette Color - With this release, you can effortlessly access color information from existing palettes that ship as part of the Lightweight themes. This functionality extends to custom color palettes, allowing you to use colors that reflect the unique identity of your WPF application.