MVCxSplitterPaneCollection.GetVisiblePane(Int32) Method
Gets a pane by its visible index.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Parameters
Name | Type | Description |
---|---|---|
index | Int32 | An integer value representing the visible index of the pane to be returned. |
Returns
Type | Description |
---|---|
MVCxSplitterPane | A MVCxSplitterPane object which represents the required visible pane. |
Remarks
The visibility of a pane is controlled by two interrelated properties: 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 GetVisibleItemCount() method, to iterate through the collection of visible panes in a control.