Skip to main content
A newer version of this page is available. .

PivotGridFieldCollection.GetFieldByName(String) Method

Returns the field by its name.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid

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