<PackageReference Include="System.Drawing.Common" Version="9.0.5" />

BufferedGraphicsContext

public sealed class BufferedGraphicsContext : IDisposable
Provides methods for creating graphics buffers that can be used for double buffering.
using System.Runtime.CompilerServices; namespace System.Drawing { public sealed class BufferedGraphicsContext : IDisposable { public Size MaximumBuffer { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public BufferedGraphicsContext() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(1)] public BufferedGraphics Allocate(Graphics targetGraphics, Rectangle targetRectangle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(1)] public BufferedGraphics Allocate(IntPtr targetDC, Rectangle targetRectangle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void Dispose() { } ~BufferedGraphicsContext() { } public void Invalidate() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }