WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BridgeComparer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BridgeComparer

    Helper class to comparer two Bridge objects by Offset.

    Inheritance
    System.Object
    BridgeComparer
    Implements
    System.Collections.IComparer
    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.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class BridgeComparer : IComparer

    Constructors

    BridgeComparer()

    Declaration
    public BridgeComparer()

    Methods

    Compare(Object, Object)

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

    Declaration
    public int Compare(object x, object y)
    Parameters
    Type Name Description
    System.Object x

    First object to compare.

    System.Object y

    Second object to compare.

    Returns
    Type Description
    System.Int32
    ValueCondition
    Less than zero x is less than y.
    Zero x equals y.
    Greater than zero x is greater than y.
    Exceptions
    Type Condition
    System.ArgumentException

    Neither x nor y implements the System.IComparable interface.

    -or-

    x and y are of different types and neither one can handle comparisons with the other.

    Implements

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