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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de