|
254 | 254 | <Docs>
|
255 | 255 | <summary>Gets the default color mode (dark mode) for the application.</summary>
|
256 | 256 | <value>To be added.</value>
|
257 |
| - <remarks> |
258 |
| - <para> |
259 |
| - This is the <see cref="P:System.Windows.Forms.Application.SystemColorMode" />; which either has been set by <see cref="M:System.Windows.Forms.Application.SetColorMode(System.Windows.Forms.SystemColorMode)" /> or its default value <see cref="F:System.Windows.Forms.SystemColorMode.Classic" />. |
260 |
| - If it has been set to <see cref="F:System.Windows.Forms.SystemColorMode.System" />, then the actual color mode is determined by the system settings (which can be retrieved by the static (shared in VB) <see cref="P:System.Windows.Forms.Application.SystemColorMode" /> property. |
261 |
| - </para> |
262 |
| - </remarks> |
| 257 | + <remarks>This is the <see cref="P:System.Windows.Forms.Application.SystemColorMode" />; which either has been set by <see cref="M:System.Windows.Forms.Application.SetColorMode(System.Windows.Forms.SystemColorMode)" /> or its default value <see cref="F:System.Windows.Forms.SystemColorMode.Classic" />. |
| 258 | + If it has been set to <see cref="F:System.Windows.Forms.SystemColorMode.System" />, then the actual color mode is determined by the system settings (which can be retrieved by the static (shared in VB) <see cref="P:System.Windows.Forms.Application.SystemColorMode" /> property.</remarks> |
263 | 259 | </Docs>
|
264 | 260 | </Member>
|
265 | 261 | <Member MemberName="CommonAppDataPath">
|
|
987 | 983 | <ReturnType>System.Boolean</ReturnType>
|
988 | 984 | </ReturnValue>
|
989 | 985 | <Docs>
|
990 |
| - <summary> |
991 |
| - Gets a value indicating whether the application is running in a dark system color context. |
992 |
| - </summary> |
| 986 | + <summary>Gets a value indicating whether the application is running in a dark system color context.</summary> |
993 | 987 | <value>To be added.</value>
|
994 |
| - <remarks>In a high contrast mode, this will always return <see langword="false" /></remarks> |
| 988 | + <remarks>In a high contrast mode, this will always return <see langword="false" />.</remarks> |
995 | 989 | </Docs>
|
996 | 990 | </Member>
|
997 | 991 | <Member MemberName="LeaveThreadModal">
|
|
1822 | 1816 | <summary>Sets the default color mode (dark mode) for the application.</summary>
|
1823 | 1817 | <remarks>
|
1824 | 1818 | <para>
|
1825 |
| - You should use this method to set the default color mode (dark mode) for the application. Set it, before creating any UI elements, to ensure that the correct color mode |
| 1819 | + You should use this method to set the default color mode (dark mode) for the application. Set it before creating any UI elements to ensure that the correct color mode |
1826 | 1820 | is used. You can set it to dark mode (<see cref="F:System.Windows.Forms.SystemColorMode.Dark" />), light mode (<see cref="F:System.Windows.Forms.SystemColorMode.Classic" />)
|
1827 | 1821 | or to the system setting (<see cref="F:System.Windows.Forms.SystemColorMode.System" />).
|
1828 | 1822 | </para>
|
|
1834 | 1828 | Note that the dark color mode is only available from Windows 11 on or later versions. If the system is set to a high contrast mode, the dark mode is not available.
|
1835 | 1829 | </para>
|
1836 | 1830 | <para>
|
1837 |
| - <b>Note for Visual Basic:</b> If you are using the Visual Basic Application Framework, you should set the color mode by handling the Application Events (see "WindowsFormsApplicationBase.ApplyApplicationDefaults"). |
| 1831 | + <b>Note for Visual Basic:</b> If you are using the Visual Basic Application Framework, you should set the color mode by handling the Application Events (see <see cref="E:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.ApplyApplicationDefaults" />). |
1838 | 1832 | </para>
|
1839 | 1833 | </remarks>
|
1840 | 1834 | </Docs>
|
@@ -2253,11 +2247,10 @@ The high DPI mode is set once per process. For more information about setting th
|
2253 | 2247 | <value>To be added.</value>
|
2254 | 2248 | <remarks>
|
2255 | 2249 | <para>
|
2256 |
| - The color setting is determined based on the operating system version and its system settings. It returns <see cref="F:System.Windows.Forms.SystemColorMode.Dark" /> if the dark mode is enabled in the system settings, |
2257 |
| - <see cref="F:System.Windows.Forms.SystemColorMode.Classic" /> if the color mode equals the light, standard color setting. |
| 2250 | + The color setting is determined based on the operating system version and its system settings. It returns <see cref="F:System.Windows.Forms.SystemColorMode.Dark" /> if the dark mode is enabled in the system settings, <see cref="F:System.Windows.Forms.SystemColorMode.Classic" /> if the color mode equals the light, standard color setting. |
2258 | 2251 | </para>
|
2259 |
| - <para>SystemColorMode is supported on Windows 11 or later versions.</para> |
2260 |
| - <para>SystemColorModes is not supported, if the Windows OS <c>High Contrast Mode</c> has been enabled in the system settings.</para> |
| 2252 | + <para><c>SystemColorMode</c> is supported on Windows 11 or later versions.</para> |
| 2253 | + <para><c>SystemColorModes</c> is not supported if the Windows OS <c>High Contrast Mode</c> has been enabled in the system settings.</para> |
2261 | 2254 | </remarks>
|
2262 | 2255 | </Docs>
|
2263 | 2256 | </Member>
|
|
0 commit comments