Back to Devexpress

ASPxPivotGrid.CustomCustomizationFormSort Event

aspnet-devexpress-dot-web-dot-aspxpivotgrid-dot-aspxpivotgrid-1af2e0ce.md

latest4.0 KB
Original Source

ASPxPivotGrid.CustomCustomizationFormSort Event

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

Namespace : DevExpress.Web.ASPxPivotGrid

Assembly : DevExpress.Web.ASPxPivotGrid.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event EventHandler<CustomCustomizationFormSortEventArgs> CustomCustomizationFormSort
vb
Public Event CustomCustomizationFormSort As EventHandler(Of CustomCustomizationFormSortEventArgs)

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

ASPxPivotGrid Class

ASPxPivotGrid Members

DevExpress.Web.ASPxPivotGrid Namespace