Skip to main content

TdxSpreadSheetAlignVerticalTop Class

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

Declaration

TdxSpreadSheetAlignVerticalTop = class(
    TdxSpreadSheetCustomAlignVerticalAction
)

Remarks

This class does not introduce any new public members. Its overridden Execute function call aligns the content to the top borders of all cells selected in the active worksheet. As a result, the Style.AlignVert property of all affected cell objects is set to ssavTop.

If the content is already aligned to the top borders in all selected cells, the AlignVerticalTop command has no effect.

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

See Also