CompatibilitySettings.LegacyDefaultTheme Property
Specifies a legacy default theme which the application should use.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Data.Desktop.v24.2.dll
NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design
#Declaration
public static LegacyDefaultTheme? LegacyDefaultTheme { get; set; }
#Property Value
Type | Description |
---|---|
Nullable<Legacy |
A legacy default theme. |
Available values:
Name | Description |
---|---|
Deep |
The Deep |
Office2016White | The Office2016White legacy default theme. The theme was default in the v20. |
#Remarks
...
partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
CompatibilitySettings.LegacyDefaultTheme = LegacyDefaultTheme.Office2016White;
base.OnStartup(e);
}
}
Note
When you set the Legacy