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

TdxSpreadSheetDecreaseFontSize Class

An action object that implements the DecreaseFontSize end-user command in spreadsheet-based applications.

#Declaration

Delphi
TdxSpreadSheetDecreaseFontSize = class(
    TdxSpreadSheetCustomFormatCellsAction
)

#Remarks

This class does not introduce any new public members. Executing a TdxSpreadSheetDecreaseFontSize action object decreases the current font size by one position within the control’s set of predefined font size values. The DecreaseFontSize command is applicable to:

  • The values displayed in all selected cells.
  • The text selection within an in-place cell editor (only if the rich content formatting functionality is enabled in the Spreadsheet/Report Designer control).

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

If cell selection is disallowed in the protected worksheet (i.e., its OptionsProtection.ActualAllowSelectUnlockedCells property returns False), executing the TdxSpreadSheetDecreaseFontSize action object has no effect.

Note

If the current font is equal to or less than the smallest value in the set of predefined font values, executing a TdxSpreadSheetDecreaseFontSize action object has no effect.

See Also