DevExpress.Wpf.TypedStyles 26.1.5

Prefix Reserved
dotnet add package DevExpress.Wpf.TypedStyles --version 26.1.5
                    
NuGet\Install-Package DevExpress.Wpf.TypedStyles -Version 26.1.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DevExpress.Wpf.TypedStyles" Version="26.1.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DevExpress.Wpf.TypedStyles" Version="26.1.5" />
                    
Directory.Packages.props
<PackageReference Include="DevExpress.Wpf.TypedStyles" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DevExpress.Wpf.TypedStyles --version 26.1.5
                    
#r "nuget: DevExpress.Wpf.TypedStyles, 26.1.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DevExpress.Wpf.TypedStyles@26.1.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DevExpress.Wpf.TypedStyles&version=26.1.5
                    
Install as a Cake Addin
#tool nuget:?package=DevExpress.Wpf.TypedStyles&version=26.1.5
                    
Install as a Cake Tool

DevExpress WPF: Typed Styles

DevExpress.Wpf.TypedStyles removes boilerplate code from WPF styling. You no longer need to declare a Style, set TargetType, and add a Setter for every property. Instead, declare a strongly typed style and assign properties directly. You get compile-time checking and full IntelliSense in the XAML editor. Typos become build errors instead of styles that silently fail to apply.

This package provides typed styles for DevExpress WPF controls and for standard WPF controls in PresentationCore, PresentationFramework, and WindowsBase.

dotnet add package DevExpress.Wpf.TypedStyles

Key Features

  • Strongly Typed Styles: For a Button control, use ButtonStyle; for GridControl, use GridControlStyle. The naming rule is {ControlName}Style.
  • IntelliSense and Compile-Time Validation: Property names are real CLR properties, so mistakes surface at build time rather than at runtime.
  • No xmlns eeded for Standard Controls: Typed styles for WPF controls map to the default presentation namespace, so ButtonStyle and TextBoxStyle are available out of the box.
  • Style Inheritance Mirrors the Control Hierarchy: Every generated style derives from its control's base style, so ButtonStyle inherits from ButtonBaseStyle.
  • BasedOn Works as Usual: Derive one typed style from another, including across target types: a ButtonStyle can be based on a FrameworkElementStyle that carries shared sizing.
  • Regular Setters When You Need Them: Populate the Setters collection to mix classic and typed syntax in one style.
  • Typed Triggers: ButtonTrigger and its siblings expose trigger conditions as typed properties and can restyle elements inside the control template.
  • Bindings on Any Property: Each typed property has a matching {PropertyName}_Source property that accepts a Binding or another markup extension.

Examples

Example 1: Style a Standard WPF Button Without Setters

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Window.Resources>
        
        <ButtonStyle x:Key="PrimaryButtonStyle"
                     FontWeight="Bold"
                     Padding="16,6"
                     MinWidth="96" />
    </Window.Resources>

    <Button Content="Save" Style="{StaticResource PrimaryButtonStyle}" />
</Window>

The button renders with bold text, the specified padding, and a minimum width. The compiler validates property names.

Example 2: Restyle a Button When the Pointer Hovers Over It

<Window.Resources>
    <ButtonStyle x:Key="HoverButtonStyle" Margin="1,2,3,4">
        <ButtonStyle.Triggers>
            
            <ButtonTrigger IsMouseOver="True">
                <TextBlockStyle FontSize="13" FontWeight="Bold" />
            </ButtonTrigger>
        </ButtonStyle.Triggers>
    </ButtonStyle>
</Window.Resources>

<Button Content="Save" Style="{StaticResource HoverButtonStyle}" />

The button caption becomes larger and bold while the pointer is over the button. A typed trigger targets the elements inside the control template, so TextBlockStyle applies to the text block that renders the caption.

Evaluation Period, Pricing Options, and Licensing Terms

Whether you own a license or want to start a 30-day evaluation period, download and register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For key registration instructions, see License Key for DevExpress Products.

If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation version warnings/messages.

This package is included in the following commercial subscriptions:

See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.

DevExpress.Wpf.Core - DevExpress WPF core library and theme engine shared by all DevExpress WPF controls.

dotnet add package DevExpress.Wpf.Core

DevExpress.Wpf - The complete DevExpress WPF Control suite.

dotnet add package DevExpress.Wpf

Documentation

Software Bill of Materials (SBOM)

To access SBOM files for DevExpress packages, please refer to the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.

See Also: Information Security | Security - What You Need to Know

Useful Online Resources

Product Compatible and additional computed target framework versions.
.NET net8.0-windows is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on DevExpress.Wpf.TypedStyles:

Package Downloads
DevExpress.Wpf

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WPF UI components (https://www.devexpress.com/wpf) Available in the following DevExpress Subscription(s): Universal, DXperience, WPF

DevExpress.Wpf.TypedStyles.de

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WPF UI components (https://www.devexpress.com/wpf) Available in the following DevExpress Subscription(s): Universal, DXperience, WPF

DevExpress.Wpf.TypedStyles.es

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WPF UI components (https://www.devexpress.com/wpf) Available in the following DevExpress Subscription(s): Universal, DXperience, WPF

DevExpress.Wpf.TypedStyles.ja

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WPF UI components (https://www.devexpress.com/wpf) Available in the following DevExpress Subscription(s): Universal, DXperience, WPF

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.1.5 409 9/18/2026
26.1.5-pre-26248 144 9/11/2026
26.1.5-pre-26241 152 9/2/2026
26.1.5-pre-26235 159 8/26/2026
26.1.5-pre-26227 170 8/18/2026
26.1.4 8,058 8/7/2026
26.1.3 10,898 6/18/2026
25.2.10 3 9/22/2026
25.2.9 864 8/3/2026
25.2.8 3,909 6/10/2026
25.2.7 6,984 5/6/2026
25.2.6 9,771 4/7/2026
25.1.14 0 9/22/2026
25.1.13 316 7/31/2026
25.1.12 255 6/10/2026
25.1.11 1,066 5/5/2026
Loading failed