XamlCompositionBrushBase.OnConnected 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 a brush is first used on screen to paint an element.
When implemented in a derived class, you can create a CompositionBrush instance and provide it to the framework by setting the CompositionBrush property.
OnDisconnected will be called when the brush is no longer being used to paint any elements.
protected:
virtual void OnConnected() = OnConnected;
void OnConnected();
protected virtual void OnConnected();
function onConnected()
Protected Overridable Sub OnConnected ()