XamlCompositionBrushBase.OnDisconnected XamlCompositionBrushBase.OnDisconnected XamlCompositionBrushBase.OnDisconnected XamlCompositionBrushBase.OnDisconnected Method

Definition

Invoked when the brush is no longer being used to paint any elements.

When implemented in a derived class, you can safely dispose of the compostion brush and other composition resources.

OnConnected will be called again if the brush is later used to paint any elements after being disconnected.

protected : virtual void OnDisconnected()
virtual void OnDisconnected() const;
protected virtual void OnDisconnected()
Protected Overridable Sub OnDisconnected()