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

TdxSpreadSheetAutoFitRowHeight Class

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

#Declaration

Delphi
TdxSpreadSheetAutoFitRowHeight = class(
    TdxSpreadSheetCustomEditAction
)

#Remarks

This class does not introduce any new public members. Its overridden Execute function call adjusts the height of all rows that intersect the current cell selection to fit the highest cell value in each row.

The AutoFitRowHeight command does not affect a row if:

  • The row is empty.
  • The row and its highest cell value already have the same height.

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

See Also