29 references to SystemColorMode
Microsoft.VisualBasic.Forms (7)
Microsoft\VisualBasic\ApplicationServices\ApplyApplicationDefaultsEventArgs.vb (2)
22colorMode As SystemColorMode) 33Public Property ColorMode As SystemColorMode
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (5)
70Private _colorMode As SystemColorMode = SystemColorMode.Classic 191''' The <see cref="SystemColorMode"/> that the application is running in. 194Protected Property ColorMode As SystemColorMode 198Set(value As SystemColorMode)
System.Windows.Forms (22)
System\Windows\Forms\Application.cs (22)
46private static SystemColorMode? s_colorMode; 244/// This is the <see cref="SystemColorMode"/> which either has been set by <see cref="SetColorMode(SystemColorMode)"/> 245/// or its default value <see cref="SystemColorMode.Classic"/>. If it has been set to <see cref="SystemColorMode.System"/>, 250public static SystemColorMode ColorMode => s_colorMode ?? SystemColorMode.Classic; 265/// (<see cref="SystemColorMode.Dark"/>), Classic (light) Mode (<see cref="SystemColorMode.Classic"/>), 266/// or the system-defined mode (<see cref="SystemColorMode.System"/>). 269/// If you set <see cref="SystemColorMode.System"/>, the actual color mode is determined by the Windows system settings. 320public static void SetColorMode(SystemColorMode systemColorMode) 327SystemColorMode.Classic => systemColorMode, 328SystemColorMode.System => systemColorMode, 329SystemColorMode.Dark => systemColorMode, 392/// It returns <see cref="SystemColorMode.Dark"/> if dark mode is enabled in the system settings, 393/// or <see cref="SystemColorMode.Classic"/> if the color mode is set to the light, standard color setting. 403public static SystemColorMode SystemColorMode => 405? SystemColorMode.Dark 406: SystemColorMode.Classic; 442&& (ColorMode == SystemColorMode.Dark 443|| (ColorMode == SystemColorMode.System && SystemColorMode == SystemColorMode.Dark));