Back to Devexpress

PivotGridField.GetOlapMemberProperties() Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-1b8bf058.md

latest2.0 KB
Original Source

PivotGridField.GetOlapMemberProperties() Method

Returns a list of OLAP member properties.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public List<OlapPropertyDescriptor> GetOlapMemberProperties()
vb
Public Function GetOlapMemberProperties As List(Of OlapPropertyDescriptor)

Returns

TypeDescription
List<DevExpress.Xpf.PivotGrid.OlapPropertyDescriptor>

A list of objects representing the OLAP member properties.

|

Remarks

Note

Set the PivotGridField.SortMode property to FieldSortMode.DimensionAttribute to enable sorting by the OLAP member property.

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

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

See Also

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace