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 ()
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for