Back to Devexpress

TcxCurrencyEditProperties Class

vcl-cxcurrencyedit-3f02fe6e.md

latest7.5 KB
Original Source

TcxCurrencyEditProperties Class

Stores currency editor settings.

Declaration

delphi
TcxCurrencyEditProperties = class(
    TcxCustomCurrencyEditProperties
)

Remarks

A currency editor is a numeric editor designed to work with monetary values.

Main API Members

The list below outlines key members of the TcxCurrencyEditProperties class. These members allow you to configure currency editors.

Appearance Options

Alignment | UseLeftAlignmentOnEditingSpecify content alignment.ImagesSpecifies the image source for editor button glyphs.OnButtonGlyphDrawParametersAllows you to customize the appearance of editor button glyphs.

User Interaction Options

Automation

Provides access to UI Automation and accessibility settings.

Tip

Use Automation.Name, Automation.Description, and other API members to specify information visible to third-party assistive tools as UIA node properties.

AutoSelectSpecifies if the editor automatically selects its content when it receives focus.ButtonsAllows you to manage and configure embedded editor buttonsClearKey | ClickKeyAllow you to associate keystrokes with basic user actions.OnButtonClickAllow you to execute custom code when a user clicks embedded editor buttons and closes the editor’s drop-down window.ReadOnlyEnables or disables read-only mode. You can use the editor’s Style.ReadOnly and StyleReadOnly properties to customize editor appearance options for the read-only state.UseMouseWheelSpecifies if the editor always responds to mouse wheel rotation.

Text Editor Settings

EditFormat | DisplayFormat | UseDisplayFormatWhenEditingSpecify text format patterns in different editor states.HideSelectionAllows you to hide text selection.Nullable | Nullstring | UseNullStringAllow you to specify display text for the Null Variant edit value.

User Input Limitations

DecimalPlacesSpecifies the number of decimal places in a value.MaxLengthLimits the length of an input string.MaxValue | MinValueLimit the range of valid numeric values.

Edit Value Validation

BeepOnErrorAllows you to play the standard system sound when a validation error occurs.ErrorIcon | ValidationErrorIconAlignmentSpecify and position an error icon.ValidateDisplayValue | ValidateOnEnter | OnValidate | IsEditValueValidAllow you to validate user input.ValidationOptionsSpecifies validation option flags.

General-Purpose API Members

AssignedValues | RestoreDefaultsAllow you to track the state of individual editor-specific settings and reset them.BeginUpdate | EndUpdate | LockUpdate | DoUpdate | Update | Changed | ChangedLocked | DataChangedAllow you to manage editor updates and avoid excessive redraw operations during batch editor setting changes.GetButtonsClass | GetContainerClass | GetStyleClass | GetViewInfoClassReturn editor property value types.

Direct TcxCurrencyEditProperties Class References

The following public API members reference a TcxCurrencyEditProperties object:

TcxCurrencyEdit

TcxCurrencyEdit.ActivePropertiesProvides access to active currency editor settings.TcxCurrencyEdit.PropertiesProvides access to currency editor settings.

TcxDBCurrencyEdit

TcxDBCurrencyEdit.ActivePropertiesProvides access to active currency editor settings.TcxDBCurrencyEdit.PropertiesProvides access to currency editor settings.

Inheritance

TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TcxCustomEditProperties TcxCustomTextEditProperties TcxCustomCurrencyEditProperties TcxCurrencyEditProperties

See Also

TcxEditRepositoryCurrencyItem Class

TcxCurrencyEditProperties Members

cxCurrencyEdit Unit