ConnectionsZone.WebPartToConnect 属性
定义
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
属性值
一个 WebPart 控件。A WebPart control.
注解
当用户将网页切换到连接显示模式,并在为连接启用的控件的谓词菜单上单击 "连接" 谓词时 WebPart ,将打开 "连接用户界面" (UI) ,并且该控件现在由 WebPartToConnect 属性引用。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.
备注
属性引用的控件 WebPartToConnect 从当前对象的属性获取其值 SelectedWebPart WebPartManager 。The control referenced by the WebPartToConnect property gets its value from the SelectedWebPart property of the current WebPartManager object.