TdxRichEditControlClosePageHeaderFooter Class
An action object that corresponds to the ClosePageHeaderFooter command provided by the Rich Edit control.
Declaration
TdxRichEditControlClosePageHeaderFooter = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlClosePageHeaderFooter action object deactivates the header or footer editing mode.
UI elements linked to a TdxRichEditControlClosePageHeaderFooter action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
The Rich Edit control’s Options.DocumentCapabilities.HeadersFooters property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
Either the header or footer editing mode is currently active.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlClosePageHeaderFooter action object, use the sdxRichEditCommandClosePageHeaderFooterMenuCaption and sdxRichEditCommandClosePageHeaderFooterDescription resource strings, respectively.