WPF

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

    Show / Hide Table of Contents

    Class ChartDoubleComparer

    Represents ChartDoubleComparer

    Inheritance
    System.Object
    ChartDoubleComparer
    Implements
    System.Collections.Generic.IComparer<System.Double>
    Inherited Members
    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.Windows.Chart
    Assembly: Syncfusion.Chart.Wpf.dll
    Syntax
    public class ChartDoubleComparer : IComparer<double>

    Constructors

    ChartDoubleComparer(Boolean)

    Initializes a new instance of the ChartDoubleComparer class.

    Declaration
    public ChartDoubleComparer(bool inversed)
    Parameters
    Type Name Description
    System.Boolean inversed

    if set to true comparing is inversed.

    Methods

    Compare(Double, Double)

    Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

    Declaration
    public int Compare(double x, double y)
    Parameters
    Type Name Description
    System.Double x

    The first object to compare.

    System.Double y

    The second object to compare.

    Returns
    Type Description
    System.Int32

    Value Condition Less than zero x is less than y.Zero x equals y.Greater than zero x is greater than y.

    Implements

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