Back to Devexpress

PivotGridGroup.IsFieldVisible(PivotGridFieldBase) Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridgroup-dot-isfieldvisible-x28-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-x29.md

latest2.2 KB
Original Source

PivotGridGroup.IsFieldVisible(PivotGridFieldBase) Method

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

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

Declaration

csharp
public bool IsFieldVisible(
    PivotGridFieldBase field
)
vb
Public Function IsFieldVisible(
    field As PivotGridFieldBase
) As Boolean

Parameters

NameTypeDescription
fieldPivotGridFieldBase

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

|

Returns

TypeDescription
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

Visible

PivotGridGroup Class

PivotGridGroup Members

DevExpress.XtraPivotGrid Namespace