Back to Devexpress

PivotGridControl.CustomCustomizationFormSort Event

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-f7f98156.md

latest4.1 KB
Original Source

PivotGridControl.CustomCustomizationFormSort Event

Allows you to change fields and folders order in the Customization Form.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public event CustomCustomizationFormSortEventHandler CustomCustomizationFormSort
vb
Public Event CustomCustomizationFormSort As CustomCustomizationFormSortEventHandler

Event Data

The CustomCustomizationFormSort event's data class is CustomCustomizationFormSortEventArgs. The following properties provide information specific to this event:

PropertyDescription
Caption1Gets the first folder to be compared. Inherited from CustomCustomizationFormSortEventArgsBase<T>.
Caption2Gets the second folder to be compared. Inherited from CustomCustomizationFormSortEventArgsBase<T>.
Field1Gets the first field to be compared. Inherited from CustomCustomizationFormSortEventArgsBase<T>.
Field2Gets the second field to be compared. Inherited from CustomCustomizationFormSortEventArgsBase<T>.
ResultGets or sets the result of a custom comparison. Inherited from CustomCustomizationFormSortEventArgsBase<T>.

Remarks

Handle the CustomCustomizationFormSort event to sort fields and folders located in the Customization Form. Use the CustomCustomizationFormSortEventArgsBase<T>.Result property to set the result of the custom comparison of the two fields or folders being processed. The fields being processed are specified by the CustomCustomizationFormSortEventArgsBase<T>.Field1 and CustomCustomizationFormSortEventArgsBase<T>.Field2 properties. The folders being compared are specified by the CustomCustomizationFormSortEventArgsBase<T>.Caption1 and CustomCustomizationFormSortEventArgsBase<T>.Caption2 properties.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace