EnableTheming

[DllImport("uxtheme.dll", SetLastError = true)]
public static extern bool EnableTheming(
   bool fEnable
);

Microsoft documentation: Link

Last updated