WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PointsSortByXComparer - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PointsSortByXComparer

    Custom comaprer to compare the chart points by x-value.

    Inheritance
    System.Object
    System.Collections.Generic.Comparer<System.Windows.Point>
    PointsSortByXComparer
    Implements
    System.Collections.IComparer
    System.Collections.Generic.IComparer<System.Windows.Point>
    Inherited Members
    System.Collections.Generic.Comparer<System.Windows.Point>.Create(System.Comparison<System.Windows.Point>)
    System.Collections.Generic.Comparer<System.Windows.Point>.System.Collections.IComparer.Compare(System.Object, System.Object)
    System.Collections.Generic.Comparer<System.Windows.Point>.Default
    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.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class PointsSortByXComparer : Comparer<Point>, IComparer, IComparer<Point>

    Constructors

    PointsSortByXComparer()

    Declaration
    public PointsSortByXComparer()

    Methods

    Compare(Point, Point)

    Compares the specified p1 with the specified p2.

    Declaration
    public override int Compare(Point point1, Point point2)
    Parameters
    Type Name Description
    System.Windows.Point point1

    The point1.

    System.Windows.Point 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<System.Windows.Point>.Compare(System.Windows.Point, System.Windows.Point)

    Implements

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