'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.