WebPartMovingEventArgs(WebPart, WebPartZoneBase, Int32) 构造函数

定义

初始化 WebPartMovingEventArgs 类的新实例。

public:
 WebPartMovingEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ webPart, System::Web::UI::WebControls::WebParts::WebPartZoneBase ^ zone, int zoneIndex);
public WebPartMovingEventArgs (System.Web.UI.WebControls.WebParts.WebPart webPart, System.Web.UI.WebControls.WebParts.WebPartZoneBase zone, int zoneIndex);
new System.Web.UI.WebControls.WebParts.WebPartMovingEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.WebPartZoneBase * int -> System.Web.UI.WebControls.WebParts.WebPartMovingEventArgs
Public Sub New (webPart As WebPart, zone As WebPartZoneBase, zoneIndex As Integer)

参数

webPart
WebPart

要移动的 WebPart 或其他服务器控件。

zone
WebPartZoneBase

webPart 要移动到的目标 WebPartZoneBase

zoneIndex
Int32

一个整数,指示 webPartzone 中相对于其他控件的索引。

适用于