Back to Devexpress

SplitterPane.VisibleIndex Property

aspnet-devexpress-dot-web-dot-splitterpane-33147da5.md

latest2.5 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

csharp
public int VisibleIndex { get; set; }
vb
Public Property VisibleIndex As Integer

Property Value

TypeDescription
Int32

An integer value specifying the zero-based index of the SplitterPane amongst visible panes at the same level. -1 if the pane is invisible.

|

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.

See Also

SplitterPane.Panes

ASPxSplitter.Panes

Visible

Splitter

SplitterPane Class

SplitterPane Members

DevExpress.Web Namespace