Skip to main content
A newer version of this page is available. .

ASPxClientDockPanel.SetVisibleIndex(visibleIndex) Method

Sets a value specifying the position of the current panel, amongst the visible panels in a zone.

Declaration

SetVisibleIndex(
    visibleIndex: number
): void

Parameters

Name Type Description
visibleIndex number

An integer value specifying the zero-based index of the panel amongst visible panels in the zone.

Remarks

Use the SetVisibleIndex property to specify the position of the panel amongst other panels in the same zone.

In order to obtain the panel position amongst other panels in the same zone, use the ASPxClientDockPanel.GetVisibleIndex method. The total number of panels in a particular zone can be obtained using the ASPxClientDockZone.GetPanelCount method of the corresponding zone. A particular visible panel can be obtained by its visible index using the zone’s ASPxClientDockZone.GetPanelByVisibleIndex method.

Note

The VisibleIndex property is in effect, provided that only the panel is docked in a zone.

See Also