

The following table lists DevExpress WPF Controls that support Lightweight Templates and the properties you should use to enable/disable Lightweight Templates: ControlĬompatibilitySettings.UseLightweightBarItemsĬompatibilitySettings. A complete library of 100+ WPF controls, including lightning-fast grids and charts, and dynamic data visualizations. Create high-performance, Microsoft® Office-inspired apps for desktop and touch devices with Ultimate UI for WPF. The bad part: We expected the DevExpress WPF controls to provide the same control coverage as the WinForm controls did. We are still using mostly Windows XP, the themes apply to this as well, which is exceptional useful for us. The following themes support Lightweight Templates: Theme Familyīlack, Colorful, Dark Gray, White, HighContrast Build Beautiful, Modern WPF Business Applications. They apply to pure WPF controls, too, so the whole application looks consistent. Lightweight Templates contain fewer visual elements and reduce the time it takes to load DevExpress WPF Controls. You can set the runTypeInitializers method parameter to true to invoke static constructors and speed up control initialization. Use the PreloadThemeResourceAsync method to load and cache all the theme resources asynchronously at the application startup. The resulting App.config file appears as follows:Ĭontrols load theme resources when you run the application.

You can apply a theme to DevExpress WPF Controls or Standard WPF Controls. The list only shows the themes that are referenced in your project. DevExpress WPF Controls ship with more than thirty application themes. Open the Window’s or the User Control’s Quick Action or Smart Tag, expand the ApplicationTheme drop-down list, and select a theme. Apply a DevExpress Theme to an Application Approach 1 To apply a theme, it is necessary to reference the theme assembly or the theme NuGet package in your project. * These controls are supported only in the Office2016SE, VS2017, Office2019, and VS2019 themes.

Refer to the Themes topic for more information about custom-designed themes.Īdd the ADO. You can create new variations of these skins using our updated Skin.

We used the DevExpress Template Gallery to create this project, so it includes the DevExpress ThemedWindow as a root element. The DevExpress WinForms vector skins (Basic, the Bezier, Office 2019 Black, Office 2019 Colorful, Office 2019 Dark Gray and Office 2019 White) are based entirely on SVG images, which allows DevExpress controls to look perfect on any screen with any DPI settings. You can use this example to create DevExpress projects and explore our features. You can find this database at the following path: /CS(VB)/WPFBlankAppWithDatabase/Northwind.mdf. In this example, the blank sample project is connected to the Northwind database. This example contains a data access layer generated with Entity Framework Database First. WPF Blank App with the Northwind Database
