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
<PackageReference Include="DevExpress.Wpf.TypedStyles" Version="26.1.5" />
<PackageVersion Include="DevExpress.Wpf.TypedStyles" Version="26.1.5" />
<PackageReference Include="DevExpress.Wpf.TypedStyles" />
paket add DevExpress.Wpf.TypedStyles --version 26.1.5
#r "nuget: DevExpress.Wpf.TypedStyles, 26.1.5"
#:package DevExpress.Wpf.TypedStyles@26.1.5
#addin nuget:?package=DevExpress.Wpf.TypedStyles&version=26.1.5
#tool nuget:?package=DevExpress.Wpf.TypedStyles&version=26.1.5
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
Buttoncontrol, useButtonStyle; forGridControl, useGridControlStyle. 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
xmlnseeded for Standard Controls: Typed styles for WPF controls map to the default presentation namespace, soButtonStyleandTextBoxStyleare available out of the box. - Style Inheritance Mirrors the Control Hierarchy: Every generated style derives from its control's base style, so
ButtonStyleinherits fromButtonBaseStyle. BasedOnWorks as Usual: Derive one typed style from another, including across target types: aButtonStylecan be based on aFrameworkElementStylethat carries shared sizing.- Regular Setters When You Need Them: Populate the
Setterscollection to mix classic and typed syntax in one style. - Typed Triggers:
ButtonTriggerand 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}_Sourceproperty that accepts aBindingor 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.
Related Components/Packages
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 | Versions 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. |
-
.NETFramework 4.6.2
- DevExpress.Charts (= 26.1.5)
- DevExpress.Charts.Core (= 26.1.5)
- DevExpress.Data (= 26.1.5)
- DevExpress.Data.Desktop (= 26.1.5)
- DevExpress.DataAccess (= 26.1.5)
- DevExpress.Diagram.Core (= 26.1.5)
- DevExpress.Drawing (= 26.1.5)
- DevExpress.Map.Core (= 26.1.5)
- DevExpress.Mvvm (= 26.1.5)
- DevExpress.Office.Core (= 26.1.5)
- DevExpress.Pdf.Core (= 26.1.5)
- DevExpress.Pdf.Drawing (= 26.1.5)
- DevExpress.PivotGrid.Core (= 26.1.5)
- DevExpress.Printing.Core (= 26.1.5)
- DevExpress.Reporting.Core (= 26.1.5)
- DevExpress.RichEdit.Core (= 26.1.5)
- DevExpress.Scheduler.Core (= 26.1.5)
- DevExpress.Scheduler.CoreDesktop (= 26.1.5)
- DevExpress.Spreadsheet.Core (= 26.1.5)
- DevExpress.TreeMap.Core (= 26.1.5)
- DevExpress.Wpf.Accordion (= 26.1.5)
- DevExpress.Wpf.Carousel (= 26.1.5)
- DevExpress.Wpf.Charts (= 26.1.5)
- DevExpress.Wpf.Controls (= 26.1.5)
- DevExpress.Wpf.Core (= 26.1.5)
- DevExpress.Wpf.Diagram (= 26.1.5)
- DevExpress.Wpf.Docking (= 26.1.5)
- DevExpress.Wpf.DocumentViewer.Core (= 26.1.5)
- DevExpress.Wpf.ExpressionEditor (= 26.1.5)
- DevExpress.Wpf.Grid.Core (= 26.1.5)
- DevExpress.Wpf.LayoutControl (= 26.1.5)
- DevExpress.Wpf.Map (= 26.1.5)
- DevExpress.Wpf.NavBar (= 26.1.5)
- DevExpress.Wpf.PdfViewer (= 26.1.5)
- DevExpress.Wpf.PivotGrid (= 26.1.5)
- DevExpress.Wpf.Printing (= 26.1.5)
- DevExpress.Wpf.PropertyGrid (= 26.1.5)
- DevExpress.Wpf.Reporting (= 26.1.5)
- DevExpress.Wpf.Ribbon (= 26.1.5)
- DevExpress.Wpf.RichEdit (= 26.1.5)
- DevExpress.Wpf.Scheduling (= 26.1.5)
- DevExpress.Wpf.SpellChecker (= 26.1.5)
- DevExpress.Wpf.Spreadsheet (= 26.1.5)
- DevExpress.Wpf.TreeMap (= 26.1.5)
-
net8.0-windows
- DevExpress.Charts (= 26.1.5)
- DevExpress.Charts.Core (= 26.1.5)
- DevExpress.Data (= 26.1.5)
- DevExpress.Data.Desktop (= 26.1.5)
- DevExpress.DataAccess (= 26.1.5)
- DevExpress.Diagram.Core (= 26.1.5)
- DevExpress.Drawing (= 26.1.5)
- DevExpress.Map.Core (= 26.1.5)
- DevExpress.Mvvm (= 26.1.5)
- DevExpress.Office.Core (= 26.1.5)
- DevExpress.Pdf.Core (= 26.1.5)
- DevExpress.Pdf.Drawing (= 26.1.5)
- DevExpress.PivotGrid.Core (= 26.1.5)
- DevExpress.Printing.Core (= 26.1.5)
- DevExpress.Reporting.Core (= 26.1.5)
- DevExpress.RichEdit.Core (= 26.1.5)
- DevExpress.Scheduler.Core (= 26.1.5)
- DevExpress.Scheduler.CoreDesktop (= 26.1.5)
- DevExpress.Spreadsheet.Core (= 26.1.5)
- DevExpress.TreeMap.Core (= 26.1.5)
- DevExpress.Wpf.Accordion (= 26.1.5)
- DevExpress.Wpf.Carousel (= 26.1.5)
- DevExpress.Wpf.Charts (= 26.1.5)
- DevExpress.Wpf.Controls (= 26.1.5)
- DevExpress.Wpf.Core (= 26.1.5)
- DevExpress.Wpf.Diagram (= 26.1.5)
- DevExpress.Wpf.Docking (= 26.1.5)
- DevExpress.Wpf.DocumentViewer.Core (= 26.1.5)
- DevExpress.Wpf.ExpressionEditor (= 26.1.5)
- DevExpress.Wpf.Grid.Core (= 26.1.5)
- DevExpress.Wpf.LayoutControl (= 26.1.5)
- DevExpress.Wpf.Map (= 26.1.5)
- DevExpress.Wpf.NavBar (= 26.1.5)
- DevExpress.Wpf.PdfViewer (= 26.1.5)
- DevExpress.Wpf.PivotGrid (= 26.1.5)
- DevExpress.Wpf.Printing (= 26.1.5)
- DevExpress.Wpf.PropertyGrid (= 26.1.5)
- DevExpress.Wpf.Reporting (= 26.1.5)
- DevExpress.Wpf.Ribbon (= 26.1.5)
- DevExpress.Wpf.RichEdit (= 26.1.5)
- DevExpress.Wpf.Scheduling (= 26.1.5)
- DevExpress.Wpf.SpellChecker (= 26.1.5)
- DevExpress.Wpf.Spreadsheet (= 26.1.5)
- DevExpress.Wpf.TreeMap (= 26.1.5)
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 |