Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / SortCommand Class / SortBy Method / SortBy(IWorksheet,Reference,Fill) Method
The worksheet to sort.
The sorting range.
The cell color to sort.


In This Topic
    SortBy(IWorksheet,Reference,Fill) Method
    In This Topic
    Create sort command for sort by cell fill.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function SortBy( _
       ByVal worksheet As IWorksheet, _
       ByVal range As Reference, _
       ByVal fill As Fill _
    ) As SortCommand
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim range As Reference
    Dim fill As Fill
    Dim value As SortCommand
     
    value = SortCommand.SortBy(worksheet, range, fill)

    Parameters

    worksheet
    The worksheet to sort.
    range
    The sorting range.
    fill
    The cell color to sort.
    See Also