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
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für