Szerkesztés

Megosztás a következőn keresztül:


WebPart.OnConnectModeChanged(EventArgs) Method

Definition

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

e
EventArgs

An EventArgs that contains the event data.

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