Skip to main content

PivotGridGroup.IsFieldVisible(PivotGridFieldBase) Method

Returns a value which identifies whether the specified field is visible.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public bool IsFieldVisible(
    PivotGridFieldBase field
)

Parameters

Name Type Description
field PivotGridFieldBase

A PivotGridField object which represents the field within the XtraPivotGrid control.

Returns

Type Description
Boolean

true if the specified field is visible; otherwise, false.

Remarks

Use the IsFieldVisible method to determine whether the specified field is visible onscreen. If the group is collapsed and the field is hidden as a result, this method returns false. If the specified field isn’t contained within the current group, the IsFieldVisible method returns the PivotGridFieldBase.Visible property’s value of the field.

See Also