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

IdxActionValue Interface

Exposes the methods that work with values that executed end-user commands apply to the corresponding DevExpress controls or their settings.

#Declaration

Delphi
IdxActionValue = interface(IInterface)

#Remarks

All TdxBasicAction class descendants that assign specific new values (such as colors, font sizes, etc.) to the corresponding control settings, implement the IdxActionValue interface to be able to store the Variant value that they apply and synchronize it with a linked UI element.

This interface exposes the following members that:

  • Store the value that a command applies to the target control or setting (Value);

  • Update the linked UI element’s state (GetValue);

  • Apply the new value to the target control or setting (SetValue and Value).

The stored Variant value interpretation depends on an indicator interface that the value-based action class (a TdxBasicAction descendant that implements the IdxActionValue interface) supports:

Indicator Interface The Value Property Stores
IdxActionColorValue A TColor value.
IdxActionFontNameValue A font’s typeface name (Variant is interpreted as a string).
IdxActionFontSizeValue A font size (Variant is interpreted as an integer).

The actual behavior of the methods that the IdxActionValue interface exposes depends on its implementation. Refer to the descriptions of the corresponding methods provided by all classes that support this interface.

#Inheritance

IInterface
IdxActionValue
See Also