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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για