TdxSpreadSheetSortDescending Class
An action object that corresponds to the SortDescending command provided by the Spreadsheet and Report Designer controls.
Declaration
TdxSpreadSheetSortDescending = class(
TdxSpreadSheetCustomSortAction
)
Remarks
The TdxSpreadSheetSortDescending
class does not introduce any new public members. Executing this action object performs cell data sorting within the current selection area against multiple columns in descending order. To perform a similar sorting operation in ascending order, use a TdxSpreadSheetSortAscending action object.
UI elements linked to a TdxSpreadSheetSortDescending
action object are enabled only if the following conditions are met:
- Spreadsheet document editing is allowed (i.e., the control’s OptionsBehavior.Editing property is set to
True
). - The in-place cell editor is inactive (the active worksheet‘s IsEditing property returns
False
). - Cell sorting operations are allowed in the active worksheet (i.e., its CanSort function returns
True
). - The active worksheet is not protected (i.e., its OptionsProtection.Protected and/or Options.Protected properties are set to
False
) or there are no locked cells within the current selection area.
Inheritance
See Also