ASPxClientSplitterPane.GetPane(index) Method

Returns the current pane's immediate child pane specified by its index.

Declaration

GetPane(index: number): ASPxClientSplitterPane

Parameters

Name Type Description
index number

An integer value specifying the zero-based index of the child pane to be retrieved.

Returns

Type Description
ASPxClientSplitterPane

An ASPxClientSplitterPane object representing the pane's immediate child pane located at the specified index within the pane's SplitterPane.Panes collection.

Remarks

A splitter control's client-side functionality enables you to programmatically access and manipulate a particular pane's child panes on the client side. Use the GetPane method to get the client-side pane object at the specified index in the list of the current pane's immediate child panes. The panes of the immediate sub level are maintained by the pane's SplitterPane.Panes collection. This method can be used together with the ASPxClientSplitterPane.GetPaneCount method when iterating through the list of the immediate child panes.

Note that the index parameter is zero-based and its upper available value is specified by the ASPxClientSplitterPane.GetPaneCount value decremented by one. If you pass an invalid index via the parameter, the method returns null.

In order to access panes further down the pane tree, you can use the GetPane property of a subsequent child pane. The pane of the root level can be accessed via the splitter's ASPxClientSplitter.GetPane method.

See Also