wpf-devexpress-dot-xpf-dot-core-dot-applicationthemehelper-f07afd49.md
Loads the theme name from the application configuration file.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public static void UpdateApplicationThemeName()
Public Shared Sub UpdateApplicationThemeName
Use the ApplicationThemeHelper.SaveApplicationThemeName method to save the current theme name (defined using the ApplicationThemeHelper.ApplicationThemeName property) to the application configuration file. To retrieve the theme name from the configuration file, call the UpdateApplicationThemeName method.
The following code snippets (auto-collected from DevExpress Examples) contain references to the UpdateApplicationThemeName() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-data-editors-create-registration-form/CS/RegistrationForm.BaseProject/App.xaml.cs#L8
base.OnStartup(e);
ApplicationThemeHelper.UpdateApplicationThemeName();
}
base.OnStartup(e);
DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName();
}
wpf-diagram-register-and-use-svg-shapes/CS/DiagramSVGItemsWpf/App.xaml.cs#L18
{
DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName();
}
wpfscheduler-provide-icalendar-data-exchange-functionality/CS/App.xaml.cs#L16
DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName();
}
wpf-spreadsheet-assign-custom-in-place-editors/CS/WpfSpreadsheet_CustomCellEditors/App.xaml.cs#L18
DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName();
}
wpf-data-editors-create-registration-form/VB/RegistrationForm.Lesson1/App.xaml.vb#L11
MyBase.OnStartup(e)
Call ApplicationThemeHelper.UpdateApplicationThemeName()
End Sub
MyBase.OnStartup(e)
DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName()
End Sub
wpf-diagram-register-and-use-svg-shapes/VB/DiagramSVGItemsWpf/Application.xaml.vb#L17
Private Sub OnAppStartup_UpdateThemeName(ByVal sender As Object, ByVal e As StartupEventArgs)
DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName()
End Sub
wpfscheduler-provide-icalendar-data-exchange-functionality/VB/App.xaml.vb#L12
Private Sub OnAppStartup_UpdateThemeName(ByVal sender As Object, ByVal e As StartupEventArgs)
DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName()
End Sub
wpf-spreadsheet-assign-custom-in-place-editors/VB/WpfSpreadsheet_CustomCellEditors/App.xaml.vb#L12
Private Sub OnAppStartup_UpdateThemeName(ByVal sender As Object, ByVal e As StartupEventArgs)
DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName()
End Sub
See Also