Skip to main content

PivotGridFieldCollection.GetFieldByName(String) Method

Returns the field by its name.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll

#Declaration

public PivotGridField GetFieldByName(
    string name
)

#Parameters

Name Type Description
name String

A string that specifies the name of the required field.

#Returns

Type Description
PivotGridField

A PivotGridField object representing the field whose name matches the specified string; null (Nothing in Visual Basic) if the field does not exist.

See Also