ConnectionsZone.WebPartToConnect Property
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.
Gets the currently selected WebPart control to connect to.
protected:
property System::Web::UI::WebControls::WebParts::WebPart ^ WebPartToConnect { System::Web::UI::WebControls::WebParts::WebPart ^ get(); };
protected System.Web.UI.WebControls.WebParts.WebPart WebPartToConnect { get; }
member this.WebPartToConnect : System.Web.UI.WebControls.WebParts.WebPart
Protected ReadOnly Property WebPartToConnect As WebPart
Property Value
A WebPart control.
Remarks
When a user switches a Web page into connect display mode, and clicks the connect verb on the verbs menu of a WebPart control that is enabled for connections, the connection user interface (UI) opens, and the control is now referenced by the WebPartToConnect property.
Note
The control referenced by the WebPartToConnect property gets its value from the SelectedWebPart property of the current WebPartManager object.