menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartIndexedDataPointByXComparer - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartIndexedDataPointByXComparer

    Class that provides comparison abilities for indexed data points.

    Inheritance
    System.Object
    System.Collections.Generic.Comparer<Syncfusion.Windows.Chart.ChartIndexedDataPoint>
    ChartIndexedDataPointByXComparer
    Implements
    System.Collections.IComparer
    System.Collections.Generic.IComparer<Syncfusion.Windows.Chart.ChartIndexedDataPoint>
    Inherited Members
    System.Collections.Generic.Comparer<Syncfusion.Windows.Chart.ChartIndexedDataPoint>.Create(System.Comparison<Syncfusion.Windows.Chart.ChartIndexedDataPoint>)
    System.Collections.Generic.Comparer<Syncfusion.Windows.Chart.ChartIndexedDataPoint>.Default
    System.Collections.Generic.Comparer<Syncfusion.Windows.Chart.ChartIndexedDataPoint>.System.Collections.IComparer.Compare(System.Object, System.Object)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Chart
    Assembly: Syncfusion.Chart.Wpf.dll
    Syntax
    public class ChartIndexedDataPointByXComparer : Comparer<ChartIndexedDataPoint>, IComparer, IComparer<ChartIndexedDataPoint>

    Constructors

    ChartIndexedDataPointByXComparer()

    Declaration
    public ChartIndexedDataPointByXComparer()

    Methods

    Compare(ChartIndexedDataPoint, ChartIndexedDataPoint)

    Compares the specified p1 with the specified p2.

    Declaration
    public override int Compare(ChartIndexedDataPoint point1, ChartIndexedDataPoint point2)
    Parameters
    Type Name Description
    Syncfusion.Windows.Chart.ChartIndexedDataPoint point1

    The point1.

    Syncfusion.Windows.Chart.ChartIndexedDataPoint point2

    The point2.

    Returns
    Type Description
    System.Int32

    negative value if point1 < point2

    zero if point1 = point2.

    positive value if point1 > point2

    Overrides
    System.Collections.Generic.Comparer<Syncfusion.Windows.Chart.ChartIndexedDataPoint>.Compare(Syncfusion.Windows.Chart.ChartIndexedDataPoint, Syncfusion.Windows.Chart.ChartIndexedDataPoint)

    Implements

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