This documentation is archived and is not being maintained.

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

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: