XamlCompositionBrushBase.OnConnected XamlCompositionBrushBase.OnConnected XamlCompositionBrushBase.OnConnected XamlCompositionBrushBase.OnConnected Method

Definition

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()
virtual void OnConnected() const;
protected virtual void OnConnected()
Protected Overridable Sub OnConnected()