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

PivotGridFieldOptions.ShowValues Property

Gets or sets whether data cells that correspond to the current data field are visible.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

[DefaultValue(true)]
public bool ShowValues { get; set; }

Property Value

Type Default Description
Boolean **true**

true if data cells that correspond to the current data field are visible; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowValues
Cross-Platform Class Library PivotGridFieldBase
.Options.ShowValues
WinForms Controls PivotGridField
.Options.ShowValues
ASP.NET Controls and MVC Extensions PivotGridField
.Options.ShowValues
MVCxPivotGridField
.Options.ShowValues
Reporting XRPivotGridField
.Options.ShowValues

Remarks

Setting the ShowValues property to false doesn’t hide totals and grand totals that correspond to the current field.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowValues property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also