SplitterPaneCollection.GetVisiblePane(Int32) Method
OBSOLETE
Use the Collection<T>.GetVisibleItem(Int32) method instead.
Gets a pane by its visible index.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
[Obsolete("Use the Collection<T>.GetVisibleItem(Int32) method instead.")]
public SplitterPane GetVisiblePane(
int index
)
Parameters
Name | Type | Description |
---|---|---|
index | Int32 | An integer value representing the visible index of the pane to be returned. |
Returns
Type | Description |
---|---|
SplitterPane | A SplitterPane object which represents the required visible pane. |
Remarks
The visibility of a pane is controlled by two interrelated properties: the SplitterPane.Visible and SplitterPane.VisibleIndex. The SplitterPane.VisibleIndex property specifies the precise visible position of a pane within a splitter.
The GetVisiblePane method obtains the pane specified by the value of its SplitterPane.VisibleIndex property. The GetVisiblePane method can be used together with the SplitterPaneCollection.GetVisiblePaneCount method to iterate through the collection of visible panes in a control.