Skip to main content
Tab

SplitterPaneCollection.Add(String) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public SplitterPane Add(
    string name
)

Parameters

Name Type Description
name String

A String value specifying the pane’s name.

Returns

Type Description
SplitterPane

A SplitterPane object representing the newly created pane.

Remarks

The ASPxSplitter control allows you to manipulate it’s panes collection, accessed via the ASPxSplitter.Panes and SplitterPane.Panes properties.

The Add method is useful to add a new pane to the end of the panes collection. To insert a pane into the specified position within the collection, use the Insert method.

Use the Collection.Move method to move the specified pane within the collection, from one index to another.

To remove the specified pane from the collection, use the Remove or the Collection.RemoveAt methods.

See Also