Partilhar via


BufferedGraphicsManager.Current Propriedade

Definição

Obtém o BufferedGraphicsContext para o domínio do aplicativo atual.

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 da propriedade

O BufferedGraphicsContext para o domínio do aplicativo atual.

Exemplos

O exemplo de código a seguir demonstra a aquisição do BufferedGraphicsContext para o domínio do aplicativo atual.

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

Comentários

Em um aplicativo, a Current propriedade sempre retorna o mesmo BufferedGraphicsContext objeto.

Aplica-se a

Confira também