BufferedGraphicsManager.Current Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the BufferedGraphicsContext for the current application domain.
public:
static property System::Drawing::BufferedGraphicsContext ^ Current { System::Drawing::BufferedGraphicsContext ^ get(); };
public static System.Drawing.BufferedGraphicsContext Current { get; }
static member Current : System.Drawing.BufferedGraphicsContext
Public Shared ReadOnly Property Current As BufferedGraphicsContext
Property Value
The BufferedGraphicsContext for the current application domain.
Examples
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;
// Retrieves the BufferedGraphicsContext for the
// current application domain.
BufferedGraphicsContext appDomainGraphicsContext =
BufferedGraphicsManager.Current;
' Retrieves the BufferedGraphicsContext for the
' current application domain.
Dim appDomainGraphicsContext As BufferedGraphicsContext = BufferedGraphicsManager.Current
Remarks
Within an application the Current property always returns the same BufferedGraphicsContext object.
Applies to
See also
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.