WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotEngine.CalcSortComparer

    Show / Hide Table of Contents

    Class PivotEngine.CalcSortComparer

    This class used for sorting the Pivoted row/column.

    Inheritance
    System.Object
    PivotEngine.CalcSortComparer
    Implements
    System.Collections.Generic.IComparer<PivotEngine.SortKeys>
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.PivotAnalysis.Base
    Assembly: Syncfusion.PivotAnalysis.Base.dll
    Syntax
    public class CalcSortComparer : IComparer<PivotEngine.SortKeys>

    Constructors

    CalcSortComparer(List<ListSortDirection>)

    Initializes a new instance of the PivotEngine.CalcSortComparer class.

    Declaration
    public CalcSortComparer(List<ListSortDirection> sortDirs)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.ComponentModel.ListSortDirection> sortDirs

    The sort direction.

    Methods

    Compare(PivotEngine.SortKeys, PivotEngine.SortKeys)

    Compares the sort direction of the PivotFields using key.

    Declaration
    public int Compare(PivotEngine.SortKeys x, PivotEngine.SortKeys y)
    Parameters
    Type Name Description
    PivotEngine.SortKeys x

    The key to compare sort directions.

    PivotEngine.SortKeys y

    The key to compare sort directions.

    Returns
    Type Description
    System.Int32

    Implements

    System.Collections.Generic.IComparer<T>
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved