Back to Devexpress

PivotGridFieldSortBySummaryInfo.FieldName Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldsortbysummaryinfo-f313f7e8.md

latest3.1 KB
Original Source

PivotGridFieldSortBySummaryInfo.FieldName Property

Gets or sets the field name of the field whose summary values define the order in which the values of the current column field or row field are arranged.

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

csharp
[DefaultValue("")]
public string FieldName { get; set; }
vb
<DefaultValue("")>
Public Property FieldName As String

Property Value

TypeDefaultDescription
StringString.Empty

A string that specifies the field name of the field whose summary values determine the order of the current field’s values.

|

Remarks

This property is in effect if the PivotGridFieldSortBySummaryInfo.Field property is set to null.

The FieldName property specifies the name of the field against which a summary will be calculated. The summary values evaluated will define the order in which the values of the current column field or row field are arranged. The FieldName property can be set to any field name contained in the control’s data source (even to a field name which has no bound PivotGridField object in the XtraPivotGrid control).

Use the PivotGridFieldSortBySummaryInfo.SummaryType property to specify the type of the summary function which will be calculated against the specified field.

See Also

Field

SummaryType

Sorting by Summary

PivotGridFieldSortBySummaryInfo Class

PivotGridFieldSortBySummaryInfo Members

DevExpress.XtraPivotGrid Namespace