Spread WPF 18
GrapeCity.Wpf.SpreadSheet.Dialogs Namespace / BuiltInDialogs Class / Sort Method
The GrapeCity.Wpf.SpreadSheet.GcSpreadSheet control to work with.
name of the container object that contain the AutoFilter
the container object is worksheet or not (table)
open the dialog from filter context menu or not


In This Topic
    Sort Method (BuiltInDialogs)
    In This Topic
    Shows the custom sort dialog to choose more options, such as sorting by multiple columns or rows, and case-sensitive sorts.
    Syntax
    'Declaration
     
    Public Shared Function Sort( _
       ByVal spread As GcSpreadSheet, _
       ByVal name As String, _
       Optional ByVal isWorksheet As Boolean, _
       Optional ByVal isFromContextMenu As Boolean _
    ) As IDialog
    'Usage
     
    Dim spread As GcSpreadSheet
    Dim name As String
    Dim isWorksheet As Boolean
    Dim isFromContextMenu As Boolean
    Dim value As IDialog
     
    value = BuiltInDialogs.Sort(spread, name, isWorksheet, isFromContextMenu)
    public static IDialog Sort( 
       GcSpreadSheet spread,
       string name,
       bool isWorksheet,
       bool isFromContextMenu
    )

    Parameters

    spread
    The GrapeCity.Wpf.SpreadSheet.GcSpreadSheet control to work with.
    name
    name of the container object that contain the AutoFilter
    isWorksheet
    the container object is worksheet or not (table)
    isFromContextMenu
    open the dialog from filter context menu or not

    Return Value

    The IDialog object represents the custom sort dialog.
    See Also