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

TdxSpreadSheetToggleFontBold Class

An action object that corresponds to the ToggleFontBold command provided by the Spreadsheet and Report Designer controls.

#Declaration

Delphi
TdxSpreadSheetToggleFontBold = class(
    TdxSpreadSheetCustomToggleFontStyleAction
)

#Remarks

This class does not introduce any new public members. Executing a TdxSpreadSheetToggleFontBold action object applies/removes the Bold attribute to/from the current font used to display:

  • The values 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 TdxSpreadSheetToggleFontBold action object are enabled only if the following conditions are met:

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

See Also