BufferedGraphicsManager.Current Property

 

Gets the BufferedGraphicsContext for the current application domain.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public static BufferedGraphicsContext Current { get; }

Property Value

Type: System.Drawing.BufferedGraphicsContext

The BufferedGraphicsContext for the current application domain.

Within an application the Current property always returns the same BufferedGraphicsContext object.

The following code example demonstrates acquiring the BufferedGraphicsContext for the current application domain.

// Retrieves the BufferedGraphicsContext for the 
// current application domain.
BufferedGraphicsContext appDomainGraphicsContext = 
     BufferedGraphicsManager.Current;

.NET Framework
Available since 2.0
Return to top
Show: