WebPartMovingEventArgs.ZoneIndex 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 or sets the index position of a Web Parts control within its zone.
public:
property int ZoneIndex { int get(); void set(int value); };
public int ZoneIndex { get; set; }
member this.ZoneIndex : int with get, set
Public Property ZoneIndex As Integer
Property Value
The numerical order of a control within its zone. The first control in a zone has an index value of zero.
Remarks
The ZoneIndex property indicates the numerical order (or ordinal position) within the zone for the Web Parts control being moved in the WebPartMoving event. The WebPartManager control uses this property to track and manage its collection of Web Parts controls on a Web page.
Important
The value of the ZoneIndex property for a control might not equal the index value for the same control within the WebParts collection.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om