Searches for the specified pane object and returns the zero-based index of the first occurrence within the collection.
public int IndexOf( MVCxSplitterPane pane )
Public Function IndexOf( pane As MVCxSplitterPane ) As Integer
A MVCxSplitterPane object representing the pane to locate in the collection.
The zero-based index of the first occurrence of the specified pane within the collection, if found; otherwise, it returns negative one (-1).
The IndexOf method enables you to determine where a pane specified by the pane parameter is located within the pane collection represented by the current object. The collection of pane objects can be accessed via the SplitterSettings.Panes property of a SplitterSettings object or by using a pane's SplitterPane.Panes property.
This method searches the pane collection for the specified pane, and if found, returns the index value of the first occurrence. If no instance is found, a negative one (-1) is returned. The collection of panes is searched forward starting with the first element and ending with the last one.