menu

UWP

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

    Show / Hide Table of Contents

    Class PointsSortByXComparer

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

    Inheritance
    System.Object
    PointsSortByXComparer
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.UWP.dll
    Syntax
    public class PointsSortByXComparer : Comparer<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
    Windows.Foundation.Point point1

    The point1.

    Windows.Foundation.Point point2

    The point2.

    Returns
    Type Description
    System.Int32

    negative value if point1 < point2

    zero if point1 = point2.

    positive value if point1 > point2

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved