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
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class RadPageViewCollection : ControlCollection, ICollection, IEnumerable
Inheritance: objectControlCollectionRadPageViewCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadPageViewCollection class.
public RadPageViewCollection(RadMultiPage multiPage)
The owner of the collection.
Properties
Gets the RadPageView at the specified index in the collection.
public RadPageView this[int index] { get; }
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.
public void Add(RadPageView pageView)
The RadPageView to append to the collection.
Determines the index of the specified RadPageView in the collection.
public int IndexOf(RadPageView pageView)
A RadPageView to search for in the collection.
Returns: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.
public void Insert(int index, RadPageView pageView)
The zero-based index location at which to insert the RadPageView.
pageViewRadPageViewThe RadPageView to insert.
Removes the specified RadPageView from the collection.
public void Remove(RadPageView pageView)
The RadPageView to remove from the collection.