Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRichEditControlPasteSelection Class

An action object that corresponds to the PasteSelection command provided by the Rich Edit control.

#Declaration

Delphi
TdxRichEditControlPasteSelection = class(
    TdxRichEditControlAction
)

#Remarks

This class does not introduce any new public members. Depending on the clipboard’s current content, executing a TdxRichEditControlPasteSelection action object performs one of the following operations:

  • Pastes a formatted text at the caret position or replaces the current text selection with the text.
  • Inserts a bitmap image as an inline picture at the caret position (or replaces the current text selection with the pasted inline picture).
  • Inserts a previously copied floating object, retaining all of its anchoring settings.

UI elements linked to a TdxRichEditControlPasteSelection action object are enabled only if the following conditions are met:

See Also