WebPartConnectionsEventArgs.Consumer Property

 

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

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public WebPart Consumer { get; }

Property Value

Type: System.Web.UI.WebControls.WebParts.WebPart

The WebPart acting as the consumer.

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.

.NET Framework
Available since 2.0
Return to top
Show: