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

Collection holding references to RadDataPagerField for the RadDataPager

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class RadDataPagerFieldCollection : IList, ICollection, IList<RadDataPagerField>, ICollection<RadDataPagerField>, IEnumerable<RadDataPagerField>, IEnumerable, IStateManager

Inheritance: objectRadDataPagerFieldCollection

Implements: ICollectionICollection<RadDataPagerField>IEnumerableIEnumerable<RadDataPagerField>IListIList<RadDataPagerField>IStateManager...

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public RadDataPagerFieldCollection(RadDataPager owner)
Parameters:ownerRadDataPager

Properties

Gets the number of elements contained in the collection.

C#
public int Count { get; }
Property Value:

The number of elements contained in the collection.

Implements: ICollection.CountICollection<RadDataPagerField>.Count

Gets a value indicating whether the collection is read-only.

C#
public bool IsReadOnly { get; }
Property Value:

true if the collection is read-only; otherwise, false.

Implements: IList.IsReadOnlyICollection<RadDataPagerField>.IsReadOnly

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

Methods

Adds the RadDataPagerField to the end of the collection.

C#
public void Add(RadDataPagerField item)
Parameters:itemRadDataPagerField

The RadDataPagerField item.

Implements: ICollection<RadDataPagerField>.Add(RadDataPagerField)

Removes all items from the collection.

C#
public void Clear()
Exceptions: NotSupportedException

The ICollection<T> is read-only.

Implements: IList.Clear()ICollection<RadDataPagerField>.Clear()

Determines whether the specified RadDataPagerField is contained in the collection.

C#
public bool Contains(RadDataPagerField item)
Parameters:itemRadDataPagerField

The RadDataPagerField item.

Returns:

bool

Implements: ICollection<RadDataPagerField>.Contains(RadDataPagerField)

Copies a range of elements from the RadDataPagerFieldCollection to a compatible one-dimensional array, starting at the specified index of the target array.

C#
public void CopyTo(RadDataPagerField[] array, int arrayIndex)
Parameters:arrayRadDataPagerField[]

The one-dimensional array.

arrayIndexint

The index of the target array.

Implements: ICollection<RadDataPagerField>.CopyTo(RadDataPagerField[], int)

C#
protected virtual RadDataPagerField CreatePagerFieldFromTypeName(string typeName)
Parameters:typeNamestringReturns:

RadDataPagerField

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<RadDataPagerField> GetEnumerator()
Returns:

IEnumerator<RadDataPagerField>

A IEnumerator<T> that can be used to iterate through the collection.

Implements: IEnumerable<RadDataPagerField>.GetEnumerator()

Searches for the specified object and returns the zero-based index of the first occurrence within the entire RadDataPagerFieldCollection

C#
public int IndexOf(RadDataPagerField item)
Parameters:itemRadDataPagerField

The item.

Returns:

int

Implements: IList<RadDataPagerField>.IndexOf(RadDataPagerField)

Inserts a RadDataPagerField item with the specified index.

C#
public void Insert(int index, RadDataPagerField item)
Parameters:indexint

The index where the RadDataPagerField item will be inserted.

itemRadDataPagerField

The RadDataPagerField item.

Implements: IList<RadDataPagerField>.Insert(int, RadDataPagerField)

Removes the RadDataPagerField item from the collection.

C#
public bool Remove(RadDataPagerField item)
Parameters:itemRadDataPagerField

The RadDataPagerField item.

Returns:

bool

Implements: ICollection<RadDataPagerField>.Remove(RadDataPagerField)

Removes the RadDataPagerField item at the specified index.

C#
public void RemoveAt(int index)
Parameters:indexint

The zero-based index of the item to remove.

Exceptions: ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The IList<T> is read-only.

Implements: IList<RadDataPagerField>.RemoveAt(int)