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

The collection of fields of RadPivotGrid. Accessible through Fields property of RadPivotGrid classes.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class PivotGridFieldsCollection : IList, ICollection, IList<PivotGridField>, ICollection<PivotGridField>, IEnumerable<PivotGridField>, IEnumerable, IStateManager

Inheritance: objectPivotGridFieldsCollection

Implements: ICollectionICollection<PivotGridField>IEnumerableIEnumerable<PivotGridField>IListIList<PivotGridField>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 PivotGridFieldsCollection(RadPivotGrid owner)
Parameters:ownerRadPivotGrid

Properties

C#
public int Count { get; }

Implements: ICollection<PivotGridField>.Count

C#
public bool IsReadOnly { get; }

Implements: ICollection<PivotGridField>.IsReadOnly

C#
public RadPivotGrid Owner { get; }

Access a PivotGridField in the collection by index.

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

The index in the collection.

Property Value:

The PivotGridField at the specified position.

Finds the PivotGridField in the collection with the specified UniqueName.

C#
public PivotGridField this[string fieldUniqueName] { get; }
Parameters:fieldUniqueNamestring

The UniqueName to search for.

Property Value:

Returns the found PivotGridField. If no field is found returns null.

Methods

C#
public void Add(PivotGridField item)
Parameters:itemPivotGridField

Implements: ICollection<PivotGridField>.Add(PivotGridField)

C#
public void Clear()

Implements: ICollection<PivotGridField>.Clear()

C#
public void ClearAggregateDescriptors()
C#
public void ClearGroupDescriptors()
C#
public void ClearRenderControls()
C#
public bool Contains(PivotGridField item)
Parameters:itemPivotGridFieldReturns:

bool

Implements: ICollection<PivotGridField>.Contains(PivotGridField)

C#
public void CopyTo(PivotGridField[] array, int arrayIndex)
Parameters:arrayPivotGridField[]arrayIndexint

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

C#
public void EnsureGroupDescriptions()
C#
public void EnsureUniqueNames()
C#
public IEnumerator<PivotGridField> GetEnumerator()
Returns:

IEnumerator<PivotGridField>

Implements: IEnumerable<PivotGridField>.GetEnumerator()

C#
public PivotGridField GetFieldByUniqueName(string uniqueName)
Parameters:uniqueNamestringReturns:

PivotGridField

C#
public PivotGridField GetFieldByUniqueNameOutChildIndex(string uniqueName, out int childIndex)
Parameters:uniqueNamestringchildIndexintReturns:

PivotGridField

C#
public List<PivotGridField> GetFieldsByType(string fieldType)
Parameters:fieldTypestringReturns:

List<PivotGridField>

Determines the index of a specific field in the PivotGridFieldsCollection.

C#
public int IndexOf(PivotGridField item)
Parameters:itemPivotGridField

The object to locate in the PivotGridFieldsCollection.

Returns:

int

The index of value if found in the collection; otherwise, -1.

Implements: IList<PivotGridField>.IndexOf(PivotGridField)

Inserts a field to the PivotGridFieldsCollection at the specified index.

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

The zero-based index at which field should be inserted.

itemPivotGridField

The PivotGridField to insert into the collection.

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

C#
public bool Remove(PivotGridField item)
Parameters:itemPivotGridFieldReturns:

bool

Implements: ICollection<PivotGridField>.Remove(PivotGridField)

Removes the PivotGridFieldsCollection field at the specified index.

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

The zero-based index of the field to remove.

Implements: IList<PivotGridField>.RemoveAt(int)

C#
public void RemoveGroupDescriptionsParent()