Skip to main content

PivotGridFieldBase.AutoPopulatedProperties Property

Get or set a collection of OLAP member properties.

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

[PivotAPIMemberCategory(APICategory.OLAPSource)]
[XtraSerializableProperty(0)]
[XtraSerializablePropertyId(2)]
public string[] AutoPopulatedProperties { get; set; }

Property Value

Type Description
String[]

System.String objects, containing property names.

Remarks

In OLAP mode, when you get the IOLAPMember.Properties property, the PivotGridControl sends a query to server every time for each member. While sorting data using the CustomServerModeSort event, you can use the AutoPopulatedProperties to specify the list of OLAP member properties, which should be returned with a data query from the server. Create a new collection of OLAP member attributes using the AutoPopulatedProperties property to improve performance.

To get the OLAP member property values, use the IOLAPMember.AutoPopulatedProperties property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoPopulatedProperties 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