WebPartMovingEventArgs Constructor (WebPart, WebPartZoneBase, Int32)

 

Initializes a new instance of the WebPartMovingEventArgs class.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public WebPartMovingEventArgs(
	WebPart webPart,
	WebPartZoneBase zone,
	int zoneIndex
)

Parameters

webPart
Type: System.Web.UI.WebControls.WebParts.WebPart

The WebPart or other server control being moved.

zone
Type: System.Web.UI.WebControls.WebParts.WebPartZoneBase

The target WebPartZoneBase to which webPart is being moved.

zoneIndex
Type: System.Int32

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

.NET Framework
Available since 2.0
Return to top
Show: