SplitterPane.VisibleIndex Property
Gets or sets a value specifying the position of the current pane amongst the visible panes at the same level.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Description |
---|---|
Int32 | An integer value specifying the zero-based index of the Splitter |
#Remarks
Use the VisibleIndex
property to control where the splitter pane is displayed amongst other panes of the same level. If the VisibleIndex
property is set to -1
, the pane is not displayed.
A particular visible pane can be obtained by the pane’s visible index using the GetVisiblePane
method of the parent pane’s SplitterPane.Panes collection (or the ASPxSplitter.Panes collection of a splitter control in the case of the root level panes). The total number of visible items at a particular level is returned by the GetVisiblePaneCount
method of the corresponding pane collection.
Note that the VisibleIndex
and SplitterPane.Visible properties are interdependent. The -1
value assigned to the VisibleIndex
property sets the SplitterPane.Visible property to false
. Setting the VisibleIndex
property to a non-negative value sets the SplitterPane.Visible property to true
.