TdxSpreadSheetBordersOutside Class
An action object that implements the BordersOutside end-user command in Spreadsheet and Report Designer-based applications.
Declaration
TdxSpreadSheetBordersOutside = class(
TdxSpreadSheetCustomLineStyleBordersAction
)
Remarks
This class does not introduce any new public members. Executing this action object applies the sscbsThin style to the outside borders of the currently selected cell ranges.
If a selected cell range consists of a single cell, a TdxSpreadSheetBordersOutside
action object applies the sscbsThin style to every border of the selected cell.
UI elements linked to a TdxSpreadSheetBordersOutside
action object are enabled only if the following conditions are met:
- Spreadsheet document editing is allowed (i.e., the control’s OptionsBehavior.Editing property is set to
True
). - An in-place cell editor is inactive (the active worksheet‘s IsEditing property returns
False
). - Cell formatting is allowed in the active worksheet (i.e., its OptionsProtection.ActualAllowFormatCells property returns
True
).
If no cells can be selected in the protected worksheet (i.e., its OptionsProtection.ActualAllowSelectUnlockedCells property returns False
), executing the TdxSpreadSheetBordersOutside
action object has no effect.