SystemBackdrop.OnTargetDisconnected Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when this object is cleared from its container.
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)
Parameters
- disconnectedTarget
- ICompositionSupportsSystemBackdrop
The target of the backdrop.
Examples
See SystemBackdrop for the full example.
protected override void OnTargetDisconnected(ICompositionSupportsSystemBackdrop disconnectedTarget)
{
base.OnTargetDisconnected(disconnectedTarget);
micaController.RemoveSystemBackdropTarget(disconnectedTarget);
micaController = null;
}