<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.2.26159.112" />

System.Drawing.BufferedGraphicsContext

public sealed class BufferedGraphicsContext : IDisposable
Provides methods for creating graphics buffers that can be used for double buffering.
namespace System.Drawing { public sealed class BufferedGraphicsContext : IDisposable { public Size MaximumBuffer { get; set; } public BufferedGraphicsContext(); public BufferedGraphics Allocate(Graphics targetGraphics, Rectangle targetRectangle); public BufferedGraphics Allocate(IntPtr targetDC, Rectangle targetRectangle); public void Dispose(); public void Invalidate(); } }