Skip to main content

TdxCustomRatingControlProperties Class

The base class for rating control editor settings.

Declaration

TdxCustomRatingControlProperties = class(
    TcxCustomEditProperties
)

Remarks

A rating control editor is designed to rate content. Rating controls support custom element glyphs.

VCL Editors Library: A Rating Control Example

Main API Members

The list below outlines key members of the TdxCustomRatingControlProperties class.

Appearance Options

Alignment
Specifies content alignment.
CheckedGlyph | Glyph | HoverGlyph
Allow you to specify glyphs for empty, filled, and hot-tracked rating control items.
Orientation
Allows you to switch the editor between horizontal and vertical layouts.
ReverseDirection
Specifies if rating control items are arranged in reverse order.

User Interaction Options

Automation

Provides access to UI Automation and accessibility-related settings.

Tip

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

ClearKey | ClickKey
Allow you to associate keystrokes with basic user actions.
OnChange
Allows you to execute custom code in response to display value changes.
ReadOnly
Enables 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.
AllowHover
Specifies if the hot-tracked state is enabled for rating control items.
FillPrecision
Allows you to switch between rating value change modes (full-item or fractional changes).
ItemCount
Specifies the maximum rating value (the number of rating control items displayed as starts or custom glyphs).
Step
Specifies the rating change step for editor value changes using keystrokes.

General-Purpose API Members

AssignedValues | RestoreDefaults
Allow you to track the state of individual editor-specific settings and reset them.
BeginUpdate | EndUpdate | LockUpdate | DoUpdate | Update | Changed | ChangedLocked | DataChanged
Allow you to manage editor updates and avoid excessive redraw operations during batch editor setting changes.

Direct TdxCustomRatingControlProperties Class References

The following properties reference a TdxCustomRatingControlProperties object:

TdxCustomRatingControl.ActiveProperties
Provides access to active rating control editor settings.
TdxCustomRatingControl.Properties
Provides access to rating control editor settings.

Terminal TdxCustomRatingControlProperties Class Descendant

TdxRatingControlProperties
Stores rating control editor settings.
See Also