Skip to main content

SplitterPaneCollection.GetVisiblePaneCount() Method


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.v23.2.dll

NuGet Package: DevExpress.Web


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


Type Description

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


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