Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetClearFormats Class

An action object that implements the ClearFormats end-user command in Spreadsheet and Report Designer-based applications.

#Declaration

Delphi
TdxSpreadSheetClearFormats = class(
    TdxSpreadSheetCustomFormatCellsAction
)

#Remarks

This class does not introduce any new public members. Executing this action object restores the default style settings for all currently selected cells.

UI elements linked to a TdxSpreadSheetClearFormats action object are enabled only if the following conditions are met:

If no cells can be selected in the protected worksheet (i.e., its OptionsProtection.ActualAllowSelectUnlockedCells property returns False), executing the TdxSpreadSheetClearFormats action object has no effect.

Note

To remove both the cell values and custom styles from the current cell selections, use the TdxSpreadSheetClearAll action object.

See Also