Szerkesztés

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


WebPartConnectionsEventArgs.Consumer Property

Definition

Gets the WebPart control that is acting as the consumer in the connection.

public:
 property System::Web::UI::WebControls::WebParts::WebPart ^ Consumer { System::Web::UI::WebControls::WebParts::WebPart ^ get(); };
public System.Web.UI.WebControls.WebParts.WebPart Consumer { get; }
member this.Consumer : System.Web.UI.WebControls.WebParts.WebPart
Public ReadOnly Property Consumer As WebPart

Property Value

The WebPart acting as the consumer.

Remarks

A connection between controls in a Web Parts zone requires one control to act as the provider and another to act as the consumer. Each control must also have a connection point defined; in the consumer's case, the connection point must be a ConsumerConnectionPoint object.

For details about Web Parts connections, see WebPartConnection, ConnectionPoint, and Web Parts Connections Overview.

Applies to

See also