Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ComplexSortInfo Class / ComplexSortInfo Constructor / ComplexSortInfo Constructor(Int32,Color,Boolean,Boolean)
Index of the column or row on which to sort
Base color to compare
Whether the base color is the forecolor
Whether the sort order is Top sort


In This Topic
    ComplexSortInfo Constructor(Int32,Color,Boolean,Boolean)
    In This Topic
    Creates a ComplexSortInfo object with a specified order and comparison that is handled by the spread default color comparer.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal index As Integer, _
       ByVal color As Color, _
       ByVal isForeColor As Boolean, _
       ByVal ascending As Boolean _
    )
    'Usage
     
    
    Dim index As Integer
    Dim color As Color
    Dim isForeColor As Boolean
    Dim ascending As Boolean
     
    Dim instance As New ComplexSortInfo(index, color, isForeColor, ascending)
    public ComplexSortInfo( 
       int index,
       Color color,
       bool isForeColor,
       bool ascending
    )

    Parameters

    index
    Index of the column or row on which to sort
    color
    Base color to compare
    isForeColor
    Whether the base color is the forecolor
    ascending
    Whether the sort order is Top sort
    See Also