Back to Devexpress

TcxCustomCurrencyEditProperties Class

vcl-cxcurrencyedit-388ef005.md

latest7.1 KB
Original Source

TcxCustomCurrencyEditProperties Class

The base class for currency editor settings.

Declaration

delphi
TcxCustomCurrencyEditProperties = class(
    TcxCustomTextEditProperties
)

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 TcxCustomCurrencyEditProperties 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.

Terminal TcxCustomCurrencyEditProperties Class Descendant

Do not use the TcxCustomCurrencyEditProperties class directly. Use the TcxCurrencyEditProperties class instead.

Inheritance

TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TcxCustomEditProperties TcxCustomTextEditProperties TcxCustomCurrencyEditProperties

See Also

TcxCustomCurrencyEdit.ActiveProperties Property

TcxCustomCurrencyEdit.Properties Property

TcxCustomCurrencyEditProperties Members

cxCurrencyEdit Unit