WebPartAddingEventArgs.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 WebPart 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 added in the WebPartAdded 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
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir