wpf icon indicating copy to clipboard operation
wpf copied to clipboard

Public API Requirements : ThemeManager, ThemeMode ??

Open singhashish-wpf opened this issue 2 years ago • 0 comments

Description

There are a few public API changes related to theme management for Fluent theme that may be needed in the future, but we are not set on what those APIs should be to make it feature complete.

Currently we have experimental ThemeMode APIs for Application and Window which are only Fluent specific and do not function for other themes. This needs to be changed and we need to find a better way to deal with theme and theme variants.

Previously there has been a lot of discussion on this topic on the following threads :

  • https://github.com/dotnet/wpf/issues/8759
  • https://github.com/dotnet/wpf/issues/8932

WPF.UI has the following APIs :

  • ThemeService
  • ApplicationThemeManager
  • SystemThemeManager
  • SystemThemeWatcher
  • ApplicationTheme
  • SystemTheme
  • ThemeChangedEvent
  • IThemeService

WPF may need some or most of these APIs, but that can be discussed only after we finalize the approach on how we are going to use Fluent as default theme.

singhashish-wpf avatar Dec 14 '23 10:12 singhashish-wpf