Class ReverseCustomComparer
Class used for sorting the PivotItem in reverse order.
Inheritance
System.Object
ReverseCustomComparer
Implements
System.Collections.IComparer
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class ReverseCustomComparer : Object, IComparer
Constructors
ReverseCustomComparer(IComparer)
Used to assign reverse order comparer to PivotItem.
Declaration
public ReverseCustomComparer(IComparer comparer)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IComparer | comparer | The comparer. |
Properties
CustomComparer
Gets the custom comparer before sorting applied.
Declaration
public IComparer CustomComparer { get; }
Property Value
Type |
---|
System.Collections.IComparer |
Methods
Compare(Object, Object)
Gets the compared result.
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | Object used to compare. |
System.Object | y | Object used to compare. |
Returns
Type | Description |
---|---|
System.Int32 | The comparer. |
Implements
System.Collections.IComparer