net9.0-windows10.0.22621
namespace System.Windows
{
    public class Application : DispatcherObject, IQueryAmbient
    {
        [Experimental("WPF0001")]
        [TypeConverter(typeof(ThemeModeConverter))]
        public ThemeMode ThemeMode { get; set; }
    }
}
Design Reviews
.NET 9.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Windows 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621
Information specific to net9.0-windows10.0.22621
Assembly

PresentationFramework , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs to set <UseWPF>True</UseWPF>.

Preview WPF0001: This API is marked as experimental.(more details)
Platform Restrictions

The property getter is only supported on the following platforms:

  • Windows

The property setter is only supported on the following platforms:

  • Windows
  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙