TdxRichEditControlToggleMultiLevelList Class
An action object that corresponds to the ToggleMultiLevelList command provided by the Rich Edit control.
Declaration
TdxRichEditControlToggleMultiLevelList = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlToggleMultiLevelList action object either enables or disables a multilevel list for the currently selected paragraph(s) or a paragraph in which the caret is located. If a bulleted or simple numbered list is applied to the current paragraph, the ToggleMultiLevelList command applies a multilevel list to the paragraph instead.
UI elements linked to a TdxRichEditControlToggleMultiLevelList 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.Numbering.MultiLevel property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlToggleMultiLevelList action object, use the sdxRichEditCommandInsertMultilevelListMenuCaption and sdxRichEditCommandInsertMultilevelListDescription resource strings, respectively.