BufferedGraphicsManager.Current Propriété

Définition

Obtient BufferedGraphicsContext pour le domaine d'application actuel.

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

Valeur de propriété

BufferedGraphicsContext

BufferedGraphicsContext pour le domaine d'application actuel.

Exemples

L’exemple de code suivant illustre l’acquisition du BufferedGraphicsContext domaine d’application actuel.

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

Remarques

Dans une application, la Current propriété retourne toujours le même BufferedGraphicsContext objet.

S’applique à

Voir aussi