XamlCompositionBrushBase.OnDisconnected 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.
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() = OnDisconnected;
void OnDisconnected();
protected virtual void OnDisconnected();
function onDisconnected()
Protected Overridable Sub OnDisconnected ()