Share via


BufferedGraphicsManager.Current Propiedad

Definición

Obtiene el objeto BufferedGraphicsContext para el actual dominio de aplicación.

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

Valor de propiedad

Objeto BufferedGraphicsContext del dominio de aplicación actual.

Ejemplos

En el ejemplo de código siguiente se muestra cómo adquirir para BufferedGraphicsContext el dominio de aplicación actual.

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

Comentarios

Dentro de una aplicación, la Current propiedad siempre devuelve el mismo BufferedGraphicsContext objeto.

Se aplica a

Consulte también