Back to Devexpress

PivotGridFieldBase.GetOLAPMemberProperties() Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-8eb9a94b.md

latest2.3 KB
Original Source

PivotGridFieldBase.GetOLAPMemberProperties() Method

Returns a list of OLAP member properties.

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

csharp
public List<OLAPPropertyDescriptor> GetOLAPMemberProperties()
vb
Public Function GetOLAPMemberProperties As List(Of OLAPPropertyDescriptor)

Returns

TypeDescription
List<DevExpress.PivotGrid.OLAP.OLAPPropertyDescriptor>

A list of objects representing the OLAP member properties.

|

Remarks

Note

Set the PivotGridFieldBase.SortMode property to PivotSortMode.DimensionAttribute to enable sorting by the OLAP member property.

To sort a pivot grid’s data by attribute, assign the property name to the PivotGridFieldBase.SortByAttribute property of the field you want to sort. To obtain OLAP member properties, use the GetOLAPMemberProperties method.

When using the PivotGridFieldBase.SortByAttribute method, the pivot grid field’s data is sorted in alphabetical order in ascending or descending order. To change the order, use the PivotGridFieldBase.SortOrder property.

See Also

PivotGridFieldBase Class

PivotGridFieldBase Members

DevExpress.XtraPivotGrid Namespace