Skip to main content

TdxBasicAction Class

The base class for all action classes that implement end-user commands for DevExpress controls.

Declaration

TdxBasicAction = class abstract(TAction)

Remarks

This class implements the basic functionality required by all DevExpress actions. It extends its ancestor with members allowing you to:

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

  • Assign the 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 of UI elements associated with an action object (BeginUpdate, CancelUpdate, and EndUpdate);

  • Specify an instance of the DevExpress control to which an action object belongs (Control);

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

Note

TdxBasicAction is a class abstract, and does not provide all the functionality required by the actual action objects. All classes that implement custom action objects for DevExpress controls must be derived from the TdxCustomAction class, which is a TdxBasicAction descendant.

See Also