Udostępnij za pośrednictwem


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

Applies to