BufferedGraphicsManager.Current BufferedGraphicsManager.Current BufferedGraphicsManager.Current BufferedGraphicsManager.Current Property

Definición

Obtiene el objeto BufferedGraphicsContext para el actual dominio de aplicación.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; }
member this.Current : System.Drawing.BufferedGraphicsContext
Public Shared ReadOnly Property Current As BufferedGraphicsContext

Valor de propiedad

Ejemplos

BufferedGraphicsContext En el ejemplo de código siguiente se muestra cómo adquirir para el dominio de aplicación actual.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

Comentarios

Dentro de una aplicación Current , la propiedad siempre devuelve BufferedGraphicsContext el mismo objeto.Within an application the Current property always returns the same BufferedGraphicsContext object.

Se aplica a

Consulte también: