alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SortComparer

    Class used to compare and sort the given collection.

    Inheritance
    object
    SortComparer
    Implements
    IComparer<object>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation.PivotAnalysis
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class SortComparer : IComparer<object>

    Constructors

    SortComparer(List<string>, List<string>, List<IComparer>, GetValueDelegate)

    Constructor that holds the information needed to perform comparison operation while sorting the PivotFields.

    Declaration
    public SortComparer(List<string> propertyNames, List<string> formats, List<IComparer> comparers, GetValueDelegate GetValue)
    Parameters
    Type Name Description
    List<string> propertyNames
    List<string> formats
    List<IComparer> comparers
    GetValueDelegate GetValue

    Methods

    Compare(object, object)

    Compares the different objects and populate the Pivot values based on the comparer assigned.

    Declaration
    public int Compare(object x, object y)
    Parameters
    Type Name Description
    object x
    object y
    Returns
    Type
    int

    Implements

    IComparer<T>
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved