Back to Devexpress

PivotGridFieldBase.GetVisibleValues() Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-d9562a8c.md

latest2.4 KB
Original Source

PivotGridFieldBase.GetVisibleValues() Method

Returns the field values currently shown in the PivotGrid.

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

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

Returns

TypeDescription
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

PivotGridFieldBase Class

PivotGridFieldBase Members

DevExpress.XtraPivotGrid Namespace