alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class BridgeComparer

    Helper class to comparer two Bridge objects by Offset.

    Inheritance
    System.Object
    BridgeComparer
    Implements
    System.Collections.IComparer
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class BridgeComparer : Object, 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 - 2026 Syncfusion Inc. All Rights Reserved