diff --git a/src/System.Windows.Forms/System/Windows/Forms/ToolTip/ToolTip.cs b/src/System.Windows.Forms/System/Windows/Forms/ToolTip/ToolTip.cs index 0078140bf83..4bdbb8da80d 100644 --- a/src/System.Windows.Forms/System/Windows/Forms/ToolTip/ToolTip.cs +++ b/src/System.Windows.Forms/System/Windows/Forms/ToolTip/ToolTip.cs @@ -718,6 +718,10 @@ private unsafe void CreateHandle() { PInvoke.SetWindowTheme(HWND, string.Empty, string.Empty); } + else if (Application.IsDarkModeEnabled) + { + PInvoke.SetWindowTheme(HWND, $"{Control.DarkModeIdentifier}_{Control.ExplorerThemeIdentifier}", null); + } } // If in OwnerDraw mode, we don't want the default border.