New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

A collection of RadPageView objects in a RadMultiPage control.

The RadPageViewCollection class represents a collection of RadPageView objects.

  • Use the this[int] to programmatically retrieve a single RadPageView from the collection, using array notation.
  • Use the Count property to determine the total number of RadPageView controls in the collection.
  • Use the Add(RadPageView) method to add RadPageView controls to the collection.
  • Use the Remove(RadPageView) method to remove RadPageView controls from the collection.

Definition

Constructors

Initializes a new instance of the RadPageViewCollection class.

C#
public RadPageViewCollection(RadMultiPage multiPage)
Parameters:multiPageRadMultiPage

The owner of the collection.

Properties

Gets the RadPageView at the specified index in the collection.

C#
public RadPageView this[int index] { get; }
Parameters:indexint

The zero-based index of the RadPageView to retrieve from the collection.

Use this indexer to get a RadPageView from the collection at the specified index, using array notation.

Methods

Appends the specified RadPageView to the collection.

C#
public void Add(RadPageView pageView)
Parameters:pageViewRadPageView

The RadPageView to append to the collection.

Determines the index of the specified RadPageView in the collection.

C#
public int IndexOf(RadPageView pageView)
Parameters:pageViewRadPageView

A RadPageView to search for in the collection.

Returns:

int

The zero-based index position of the specified RadPageView in the collection. If the specified RadPageView is not found in the collection -1 is returned.

Inserts the specified RadPageView object in the current RadPageViewCollection at the specified index location.

C#
public void Insert(int index, RadPageView pageView)
Parameters:indexint

The zero-based index location at which to insert the RadPageView.

pageViewRadPageView

The RadPageView to insert.

Removes the specified RadPageView from the collection.

C#
public void Remove(RadPageView pageView)
Parameters:pageViewRadPageView

The RadPageView to remove from the collection.