Skip to main content
Tab

SplitterPaneCollection.GetVisiblePaneCount() Method

OBSOLETE

Use the Collection<T>.GetVisibleItemCount() method instead.

Returns the number of visible panes in a splitter pane’s collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[Obsolete("Use the Collection<T>.GetVisibleItemCount() method instead.")]
public int GetVisiblePaneCount()

Returns

Type Description
Int32

An integer value representing the number of visible panes in a control.

Remarks

The visibility of a pane is controlled by two interrelated properties: SplitterPane.Visible and SplitterPane.VisibleIndex. To obtain a particular visible pane by its visible index use the SplitterPaneCollection.GetVisiblePane method.

The GetVisiblePaneCount method returns the number of panes currently visible within a splitter panes collaection. The GetVisiblePaneCount method can be used together with the SplitterPaneCollection.GetVisiblePane method, to iterate through the collection of visible panes in a control.

See Also