PivotGridFieldBase.GetVisibleValues() Method

Returns the field values currently shown in the PivotGrid.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public List<object> GetVisibleValues()
Public Function GetVisibleValues As List(Of Object)

Returns

Type Description
List<Object>

A collection of objects that represent the field values currently shown in the PivotGrid.

Remarks

The collection returned by this method consists of unique field values stored in the underlying data source (PivotGridFieldBase.GetUniqueValues), except the values excluded by applying filters to other fields and the values filtered out by the filter applied directly to that field.

To obtain all values stored in the underlying data source in the current field, except the values excluded by applying filters to other fields, use the PivotGridFieldBase.GetAvailableValues method.

NOTE

If the PivotGridControl filters data by OLAP member unique names (controlled by the PivotGridFieldOptions.OLAPFilterByUniqueName and PivotGridOptionsOLAP.FilterByUniqueName options), the GetVisibleValues method returns them instead of field values.

See Also