PivotGridFieldCollection.Add(String, FieldArea) Method
Adds a new field with the specified field name and location to the end of the collection.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
Declaration
public PivotGridField Add(
string fieldName,
FieldArea area
)
Public Function Add(
fieldName As String,
area As FieldArea
) As PivotGridField
Parameters
Name | Type | Description |
---|---|---|
fieldName | String | A string that identifies the name of the datasource field that will be assigned to the new PivotGridField object. This value is assigned to the PivotGridField.FieldName property. |
area | FieldArea | A FieldArea value that identifies the area in which the new field will be positioned. This value is assigned to the PivotGridField.Area property. |
Returns
Type | Description |
---|---|
PivotGridField | The PivotGridField object that has been added to the collection. |
See Also