TdxRichEditControlChangeFloatingObjectOutlineColor Class
An action object that corresponds to the ChangeFloatingObjectOutlineColor command provided by the Rich Edit control.
Declaration
TdxRichEditControlChangeFloatingObjectOutlineColor = class(
TdxRichEditControlAlphaColorValueAction,
IdxActionColorValue
)
Remarks
The TdxRichEditControlChangeFloatingObjectOutlineColor class does not introduce any new public members. This action object is designed to be used in a Ribbon or Toobar UI by the following item controls:
A color picked by using a TcxBarEditItem UI element is automatically applied as the selected floating object’s outline color.
UI elements linked to a TdxRichEditControlChangeFloatingObjectOutlineColor 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.FloatingObjects property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
A floating object is selected.
To localize the caption and hint displayed by a TcxBarEditItem UI element linked to a TdxRichEditControlChangeFloatingObjectOutlineColor action object, use the sdxRichEditCommandChangeFloatingObjectOutlineColorMenuCaption and sdxRichEditCommandChangeFloatingObjectOutlineColorDescription resource strings, respectively.