WebPart.OnConnectModeChanged(EventArgs) 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.
Enables derived classes to provide custom handling when a WebPart control is beginning or ending the process of connecting to other controls.
protected public:
virtual void OnConnectModeChanged(EventArgs ^ e);
protected internal virtual void OnConnectModeChanged (EventArgs e);
abstract member OnConnectModeChanged : EventArgs -> unit
override this.OnConnectModeChanged : EventArgs -> unit
Protected Friend Overridable Sub OnConnectModeChanged (e As EventArgs)
Parameters
Remarks
The method in the WebPart base class contains no implementation.
Notes to Inheritors
A derived control needs to override the OnConnectModeChanged(EventArgs) method. Developers can raise custom events or carry out other actions. The method is called by the WebPartManager control when the BeginWebPartConnecting(WebPart) and EndWebPartConnecting() methods are called to establish connections between controls.
Applies to
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour