WebPartMovingEventArgs(WebPart, WebPartZoneBase, Int32) Constructor

Definition

Initializes a new instance of the WebPartMovingEventArgs class.

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)

Parameters

webPart
WebPart

The WebPart or other server control being moved.

zone
WebPartZoneBase

The target WebPartZoneBase to which webPart is being moved.

zoneIndex
Int32

An integer that indicates the index of webPart relative to other controls within zone.

Applies to