29 references to SystemColorMode
Microsoft.VisualBasic.Forms (7)
Microsoft\VisualBasic\ApplicationServices\ApplyApplicationDefaultsEventArgs.vb (2)
22colorMode As SystemColorMode, 37Public Property ColorMode As SystemColorMode
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (5)
68Private _colorMode As SystemColorMode = SystemColorMode.Classic 195''' The <see cref="SystemColorMode"/> that the application is running in. 198Protected Property ColorMode As SystemColorMode 202Set(value As SystemColorMode)
System.Windows.Forms (22)
System\Windows\Forms\Application.cs (22)
46private static SystemColorMode? s_colorMode; 249/// This is the <see cref="SystemColorMode"/> which either has been set by <see cref="SetColorMode(SystemColorMode)"/> 250/// or its default value <see cref="SystemColorMode.Classic"/>. If it has been set to <see cref="SystemColorMode.System"/>, 255public static SystemColorMode ColorMode => s_colorMode ?? SystemColorMode.Classic; 309/// (<see cref="SystemColorMode.Dark"/>), Classic (light) Mode (<see cref="SystemColorMode.Classic"/>), 310/// or the system-defined mode (<see cref="SystemColorMode.System"/>). 313/// If you set <see cref="SystemColorMode.System"/>, the actual color mode is determined by the Windows system settings. 364public static void SetColorMode(SystemColorMode systemColorMode) 371SystemColorMode.Classic => systemColorMode, 372SystemColorMode.System => systemColorMode, 373SystemColorMode.Dark => systemColorMode, 466/// It returns <see cref="SystemColorMode.Dark"/> if dark mode is enabled in the system settings, 467/// or <see cref="SystemColorMode.Classic"/> if the color mode is set to the light, standard color setting. 477public static SystemColorMode SystemColorMode => 479? SystemColorMode.Dark 480: SystemColorMode.Classic; 516&& (ColorMode == SystemColorMode.Dark 517|| (ColorMode == SystemColorMode.System && SystemColorMode == SystemColorMode.Dark));