Tab

SplitterPane.Panes Property

Gets a collection that contains the child panes of the current pane.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public SplitterPaneCollection Panes { get; }
Public ReadOnly Property Panes As SplitterPaneCollection

Property Value

Type Description
SplitterPaneCollection

A SplitterPaneCollection that contains the child panes of the current pane.

Available values:

Name Description
Item[String]

Gets a pane object with the specified SplitterPane.Name property value.

Owner

Gets the collection's owner.

GetByName(String)

Obsolete. Returns a collection item object with the specified SplitterPane.Name property value.

IndexOfName(String)

Searches for a collection item object specified by the value of its SplitterPane.Name property, and returns the zero-based index of the first occurrence within the item collection.

Add(String)

Adds a new splitter pane with the specified name to the end of the collection and returns the corresponding object.

Add()

Adds a new splitter pane to the end of the collection and returns the corresponding object.

GetVisiblePaneCount()

Obsolete. Returns the number of visible panes in a splitter pane's collection.

GetVisiblePane(Int32)

Obsolete. Gets a pane by its visible index.

SplitterPaneCollection(SplitterPane)

Initializes a new instance of the SplitterPaneCollection class with the specified owner.

Remarks

Use the Panes property to access the child panes of the current pane, if any. This collection contains only the panes at the next level. To access panes further down the hierarchy tree, use the Panes property of a subsequent pane. If the Panes property is the null reference (Nothing in Visual Basic), the current pane does not have any child panes.

The Panes property can be also used to programmatically manage the child panes of the current pane. You can add, insert, remove, retrieve, and modify SplitterPane objects from the collection. Any updates to the collection will be automatically reflected in the splitter control the next time the page is refreshed.

Note that the panes of a splitter's root level can be accessed via the ASPxSplitter.Panes property of the splitter control.

See Also