Quantcast
Channel: Developer Express Inc.
Viewing all articles
Browse latest Browse all 2400

WPF — Early Access Preview (v25.1)

$
0
0
Our next major update (v25.1) is a couple of months away. In this post, I'll summarize some of the features/capabilities available in our early access (EAP) build.
All active DevExpress Universal and DXperience subscribers can download and install the EAP today. Please navigate to the DevExpress Download Manager to obtain our EAP build.
Early Access and CTP builds are provided solely for early testing purposes and are not ready for production use. This build can be installed side by side with other major versions of DevExpress products. Please backup your project and other important data before installing Early Access and CTP builds.

This EAP may not include all features/products we expect to ship in our v25.1 release cycle. As its name implies, the EAP offers an early preview of what we expect to ship in two months. For additional information on what you can expect, refer to our June 2025 Roadmap (v25.1).

DevExpress WPF Template Kit (Discussion)

Our new templates allow you to quickly create WPF projects with optimized architecture/design. You can configure new projects by selecting a navigation type and a set of pre-designed views. DevExpress WPF Templates include the following options/capabilities:
  • 4 navigation types: Accordion, Accordion with Tabbed Documents, Tabbed Window, and Compact Panel (Teams/Outlook-like).
  • 30+ pre-designed views (you can select multiple views simultaneously).
  • Performance optimizations, including Lightweight themes, resource preloading, Multi-Core JIT, and ReadyToRun deployment.
  • MVVM and Dependency Injection patterns.
  • Infrastructure for asynchronous data loading and command execution.
  • Server-side support, including OData, authentication, and permission management.
Our WPF Templates will be available through Visual Studio and VS Code extensions. Though we're still working on the extensions, you can already use the CLI templates shared in the feature discussion thread. Here are some of the views and modules we’ve implemented.

Kanban Board  manage workflows by moving cards between groups, creating new items, and checking completed tasks. The Kanban board is powered by our Data Grid with a custom row template.

Middle-tier module  With this additional layer of protection (authentication, authorization, and encryption), desktop UI clients will not be able to access database connection information or modify database tables directly. You will be able to maintain an existing data context (DbContext) and business logic while establishing remote/secure connections to an RDBMS–based data store.

Employee Editing Form– A view with pre-configured editors arranged using the DevExpress Layout Control. We’ve implemented a classic editing form and a version with embedded labels. 

WPF Editing Form | DevExpress

Avalonia XPF (Discussion)

As you may know, Avalonia XPF allows WPF projects to run on macOS and Linux. The Avalonia team has added support for DevExpress controls. We migrated some of our demos to this technology to help you evaluate whether Avalonia XPF meets your cross-platform development needs.
Important considerations:
  • Avalonia XPF was not developed by DevExpress. Support for DevExpress controls is managed by the Avalonia team. You can find a list of known limitations here: Supported DevExpress Components
  • Avalonia XPF is different from Avalonia UI. While Avalonia XPF enables WPF applications to run on macOS and Linux, Avalonia UI is a separate framework for building cross-platform apps from the ground-up. DevExpress components do not support Avalonia UI.

Windows 11 System Accent Colors

To maintain visual consistency between your app and the operating system, our Win11 Lightweight themes can automatically select accent color based on a user's system settings. To enable this capability, set CompatibilitySettings.UseLightweightThemes to true and assign the ApplicationThemeHelper.ApplicationThemeName property:
CompatibilitySettings.UseLightweightThemes = true;
ApplicationThemeHelper.ApplicationThemeName = LightweightTheme.Win11SystemColors.Name;

Lightweight Themes - Set Theme-Specific Values in XAML 

Our new LWThemeValue markup extension helps you design your views for multiple DevExpress themes. LWThemeValue allows you to set a property based on the current theme in XAML. You can assign it a specific value or a static resource.

<Window.Resources> 
    <SolidColorBrush x:Key="office2019Color" Color="Green"/> 
    <SolidColorBrush x:Key="win11Color" Color="Red"/> 
</Window.Resources> 

<Border Margin="{LWThemeValue Office2019='0,0,0,0', Win11='8,8,8,8'}" 
    CornerRadius="{LWThemeValue Office2019=0, Win11=4}" 
    BorderBrush="{LWThemeValue Office2019={StaticResource office2019Color}, Win11={StaticResource win11Color}}" 
    BorderThickness="1"> 
    <!--...--> 
</Border>

If you have multiple theme-dependent resources, you can group them into dictionaries and dynamically apply them using the LWThemeDictionary extension.

<!-- Dictionary1.xaml --> 
<ResourceDictionary ...> 
    <SolidColorBrush x:Key="myBrush">Red</SolidColorBrush> 
</ResourceDictionary> 

<!-- Dictionary2.xaml --> 
<ResourceDictionary ...> 
    <SolidColorBrush x:Key="myBrush">Blue</SolidColorBrush> 
</ResourceDictionary> 

<UserControl ...> 
    <UserControl.Resources> 
        <LWThemeDictionary Default="Resources/Dictionary1.xaml" Win11="Resources/Dictionary2.xaml"> 
    </UserControl.Resources> 
    <Border Background="{DynamicResource myBrush}"/> 
</UserControl>

AI Enhancements (Discussion)

Semantic Search (Data Grid)

We implemented Semantic Search in our WPF Data Grid to help you locate items based on meaning rather than an exact match. For instance, if your Data Grid contains CV info, and users search for "developers with AI experience", Semantic Search will include results for terms such as "machine learning", "deep learning" or "neural networks" (even if "AI" isn’t explicitly mentioned).

Smart Search (Ribbon & Accordion)

DevExpress WPF Ribbon and Accordion controls now support AI-powered search. Smart Search works alongside traditional search algorithms to deliver a more powerful and user-friendly search experience.
When a user pauses text entry in the search field (within the Ribbon or Accordion control), the control sends the current search query to an AI service that understands context, synonyms, and user intent beyond exact keyword matches. Once the AI service returns results, the control filters items accordingly.

Smart Paste (Data Grid & Layout Control)

We added Smart Paste operations to our WPF Data Grid and Layout Control. Smart Paste is an AI-ready feature that transforms traditional copy-paste operations. Designed to improve productivity, Smart Paste analyses copied content and intelligently assigns correct values to appropriate fields/row cells in the DevExpress Data Grid and Layout Control-powered forms.

WPF Ribbon Backstage Navigation

We implemented keyboard navigation support in our WPF Ribbon Backstage View (allows users to interact with Backstage elements without a mouse).

Backstage View Keyboard Navigation

WPF DateNavigator and DateEdit Navigation

DateNavigator and DateEdit now support keyboard navigation for all UI elements. When DateEdit is focused, press Alt + Down to open the popup, then use the Down arrow to focus on the date area. You can navigate through dates using the arrow keys, Shift + Tab to focus the header, and Tab to move between the Today and Close buttons.

Performance

A few releases ago, we introduced Lightweight (LW) Themes, which significantly reduce view load time and memory consumption. In v25.1, we’ve reworked our Demo Center modules to help you evaluate performance improvements across our controls.

Demo Optimization

These optimizations were made possible by the use of Lightweight Themes, resource preloading, and demo refactoring.


Viewing all articles
Browse latest Browse all 2400

Trending Articles