Skip to main content

TdxPDFViewerCustomAction Class

The base class for classes that implement all action objects in the PDF Viewer control.

Declaration

TdxPDFViewerCustomAction = class(
    TdxCustomAction
)

Remarks

The TdxPDFViewerCustomAction class provides the following members that allow you to:

  • Assign the caption for an action object linked to a UI element (Caption and AssignedValues.Caption);

  • Assign a custom help hint for an action object linked to a UI element (Hint and AssignedValues.Hint);

  • Execute a command associated with an action object in response to a certain event occurring in your application (Execute and ExecuteTarget);

  • Identify whether the UI elements associated with an action object can be updated (IsLocked);

  • Manage updating UI elements associated with an action object (BeginUpdate, CancelUpdate, and EndUpdate);

  • Specify the PDF Viewer control instance to which an action object belongs (Control);

  • Force updating a UI element linked to an action object (UpdateTarget).

All classes that implement custom action objects in the PDF Viewer control must be derived from the TdxPDFViewerCustomAction class. You do not need to create instances of this class. Use its descendants instead.

See Also