Skip to main content

TdxSpreadSheetBordersNone Class

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

Declaration

TdxSpreadSheetBordersNone = class(
    TdxSpreadSheetCustomLineStyleBordersAction
)

Remarks

This class does not introduce any new public members. Executing this action object applies the default border style to all cell borders within the currently selected ranges.

Executing a TdxSpreadSheetBordersNone action object cancels the effect of the BordersAll, BordersBottom, BordersBottomDouble, BordersBottomThick, BordersLeft, BordersOutside, BordersOutsideThick, BordersRight, BordersTop, BordersTopAndBottom, BordersTopAndBottomDouble, and/or BordersTopAndBottomThick commands previously applied to the same worksheet areas.

UI elements linked to a TdxSpreadSheetBordersNone 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 TdxSpreadSheetBordersNone action object has no effect.

See Also