Compartilhar via


SystemBackdrop.OnTargetDisconnected Método

Definição

Chamado quando esse objeto é limpo de seu contêiner.

protected:
 virtual void OnTargetDisconnected(ICompositionSupportsSystemBackdrop ^ disconnectedTarget) = OnTargetDisconnected;
void OnTargetDisconnected(ICompositionSupportsSystemBackdrop const& disconnectedTarget);
protected virtual void OnTargetDisconnected(ICompositionSupportsSystemBackdrop disconnectedTarget);
function onTargetDisconnected(disconnectedTarget)
Protected Overridable Sub OnTargetDisconnected (disconnectedTarget As ICompositionSupportsSystemBackdrop)

Parâmetros

disconnectedTarget
ICompositionSupportsSystemBackdrop

O alvo do pano de fundo.

Exemplos

Consulte SystemBackdrop para obter o exemplo completo.

protected override void OnTargetDisconnected(ICompositionSupportsSystemBackdrop disconnectedTarget)
{
    base.OnTargetDisconnected(disconnectedTarget);

    micaController.RemoveSystemBackdropTarget(disconnectedTarget);
    micaController = null;
}

Aplica-se a

Confira também