Files
docs-desktop/dotnet-desktop-guide/framework/winforms/advanced/how-to-manually-manage-buffered-graphics.md
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

3.1 KiB

title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
title ms.date dev_langs helpviewer_keywords ms.assetid
How to: Manually Manage Buffered Graphics 03/30/2017
csharp
vb
flicker [Windows Forms], reducing by manually managing graphics
graphics [Windows Forms], managing buffered
4c2a90ee-bbbe-4ff6-9170-1b06c195c918

How to: Manually Manage Buffered Graphics

For more advanced double buffering scenarios, you can use the .NET Framework classes to implement your own double-buffering logic. The class responsible for allocating and managing individual graphics buffers is the xref:System.Drawing.BufferedGraphicsContext class. Every application has its own default xref:System.Drawing.BufferedGraphicsContext that manages all of the default double buffering for that application. You can retrieve a reference to this instance by calling the xref:System.Drawing.BufferedGraphicsManager.Current%2A.

To obtain a reference to the default BufferedGraphicsContext

To create a dedicated BufferedGraphicsContext

See also