ComponentOne TileControl for WinForms
C1.Win.TileControl.8 Assembly / C1.Win.Tile Namespace / C1TileControl Class / CompareTiles Event

In This Topic
    CompareTiles Event (C1TileControl)
    In This Topic
    Occurs when sorting tiles in a Group to compare two tiles before their reordering.
    Syntax
    'Declaration
     
    
    Public Event CompareTiles As EventHandler(Of CompareTilesEventArgs)
    public event EventHandler<CompareTilesEventArgs> CompareTiles
    Event Data

    The event handler receives an argument of type CompareTilesEventArgs containing data related to this event. The following CompareTilesEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a signed integer that indicates the relative values of Tile1 and Tile2 as follow: less than 0 (if Tile1 is less than Tile2), zero (if Tile1 equals Tile2), greater than zero (if Tile1 is greater than Tile2).  
    Gets the first tile to compare.  
    Gets the second tile to compare.  
    See Also