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

ASPxClientDockPanel.GetVisibleIndex Method

Gets a value specifying the position of the current panel, amongst the visible panels within a zone.

Declaration

GetVisibleIndex(): number

Returns

Type Description
number

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

Remarks

Use the GetVisibleIndex method, to control where the panel is displayed amongst other panels in the same zone.

In order to specify the panel’s visual index, use the ASPxClientDockPanel.SetVisibleIndex 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 visible and docked in a zone.

See Also