Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Collapse]Common Concepts
  [Expand]Web.config Modifications
  [Expand]Callback Exception Handling
  [Expand]Client-Side Functionality
  [Expand]Cookies Support
  [Collapse]Appearance Customization - Theming
    DevExpress Themes Overview
    Available Themes
    ASPxThemes Assembly
    Modifying Themes
    Changing Theme Base Color and Font Settings
    ASPxThemeDeployer Tool
    ASPxThemeBuilder Tool
    Apply a Theme with the DevExpress Mechanism
    Apply a Theme with the ASP.NET Mechanism
    Attaching a Custom Theme Assembly
    DevExpress Resource Management Mechanism
   [Expand]Obsolete Approaches (prior to 2012.1)
   Icon Collection
  [Expand]Performance Optimization
  [Expand]CSS Image Sprites
   Supported Document Types
  [Expand]Accessibility Support
   Right to Left Support
   HTML Encoding
   Binary Storage Configuration
  [Expand]SharePoint Support
   Mobile Support
  [Expand]Office Document Management
   Cloud Storage Account Management
  [Expand]Web Farm and Web Garden Support
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ASPxThemes Assembly

ASPxThemes is a .NET assembly that contains information on all available built-in DevExpress theme source files – with the exception of the Default Theme, which is included in control-related DLLs directly.

The ASPxThemes assembly (the DevExpress.Web.ASPxThemes.v18.1.dll file) can be accessed at the following path: "C:\Program Files (x86)\DevExpress 18.1\Components\Bin\Framework\".

A DevExpress theme consists of the following source files.

  • Skin files (.skin) store visual settings as control markup. Each theme folder contains a separate skin file for each DevExpress web control (e.g., the ASPxPopupControl.skin file describes visual settings for the ASPxPopupControl).
  • CSS files (.css) include CSS styles for controls.
  • Image files (.png, .gif).

DevExpress theme source files are organized in a specific hierarchical structure. All files related to a theme are stored within a corresponding theme folder (see the image below). The theme’s skin files are located at the root of the theme folder. Specific subfolders (such as Web, Editors, etc.) contain images and CSS files that conform to the corresponding control types.

The ASPxThemes assembly is registered within the GAC upon installation. When you use the DevExpress theming mechanism to apply a DevExpress theme, a specific DevExpress ASPxHttpHandlerModule finds the assembly in the GAC, so it is not necessary to reference the assembly or deploy any files to the App_Themes folder. All theme source files are obtained from the assembly automatically.

DevExpress themes can be applied using a standard ASP.NET approach as well. See the Apply a Theme with the ASP.NET Mechanism topic to learn more.

Set the enableThemesAssembly option to false in the web.config file to disable the use of default themes from the ASPxThemes assembly. This option allows you to avoid overriding your custom theme settings when you provide a custom appearance by modifying the default theme files contained within your project's App_Themes folder without renaming the modified themes.

Note

Since you cannot add a custom theme to the ASPxThemes.dll assembly, you can alternatively create a custom assembly that maintains default DevExpress themes and custom themes. See the Generating a Custom Theme Assembly topic for more information.

Expanded See Also

Is this topic helpful?​​​​​​​