Class PivotTableFields
Represents a collection of pivot fields in the pivot table.
Inheritance
System.Object
PivotTableFields
Implements
System.Collections.Generic.IList<PivotFieldImpl>
System.Collections.Generic.ICollection<PivotFieldImpl>
System.Collections.Generic.IEnumerable<PivotFieldImpl>
System.Collections.IEnumerable
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.PivotTables
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class PivotTableFields : CollectionBaseEx<PivotFieldImpl>, IList<PivotFieldImpl>, ICollection<PivotFieldImpl>, IEnumerable<PivotFieldImpl>, IParentApplication, ICloneParent, IPivotFields, IEnumerable
Constructors
PivotTableFields(IApplication, Object)
Initializes a new instance of pivot fields collection.
Declaration
public PivotTableFields(IApplication application, object parent)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | |
System.Object | parent |
PivotTableFields(PivotTableImpl)
Initializes new instance of the pivot fields collection with the specified parent pivot table..
Declaration
public PivotTableFields(PivotTableImpl table)
Parameters
Type | Name | Description |
---|---|---|
PivotTableImpl | table | Parent table. |
Properties
Item[String]
Gets the pivot field from the collection with the specified name. Read-only.
Declaration
public IPivotField this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the item to return. |
Property Value
Type |
---|
IPivotField |
Methods
Clone(Object)
Creates a copy of this collection.
Declaration
public override object Clone(object parent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | New parent for the created object. |
Returns
Type |
---|
System.Object |
Overrides
Syncfusion.XlsIO.Implementation.Collections.CollectionBaseEx<Syncfusion.XlsIO.Implementation.PivotTables.PivotFieldImpl>.Clone(System.Object)
Explicit Interface Implementations
IPivotFields.get_Item(Int32)
Declaration
IPivotField IPivotFields.get_Item(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type |
---|
IPivotField |
IPivotFields.Item[Int32]
Gets the pivot field from the collection with the specified index. Read-only.
Declaration
IPivotField IPivotFields.this[] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Item index to return. |
Returns
Type |
---|
IPivotField |
Implements
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable