BufferedGraphicsManager.Current Eigenschaft

Definition

Ruft den BufferedGraphicsContext für die aktuelle Anwendungsdomäne ab.

public:
 static property System::Drawing::BufferedGraphicsContext ^ Current { System::Drawing::BufferedGraphicsContext ^ get(); };
public static System.Drawing.BufferedGraphicsContext Current { get; }
member this.Current : System.Drawing.BufferedGraphicsContext
Public Shared ReadOnly Property Current As BufferedGraphicsContext

Eigenschaftswert

BufferedGraphicsContext

Der BufferedGraphicsContext für die aktuelle Anwendungsdomäne.

Beispiele

Im folgenden Codebeispiel wird der Erwerb der BufferedGraphicsContext aktuellen Anwendungsdomäne veranschaulicht.

// 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

Hinweise

Innerhalb einer Anwendung gibt die Current Eigenschaft immer dasselbe BufferedGraphicsContext Objekt zurück.

Gilt für

Siehe auch