Compartir a través de


BufferedGraphicsManager.Current Propiedad

Definición

Obtiene para BufferedGraphicsContext el dominio de aplicación actual.

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

BufferedGraphicsContext para el 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