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

TdxCustomRatingControl Class

Serves as the base class for classes that implement rating controls.

#Declaration

Delphi
TdxCustomRatingControl = class(
    TcxCustomEdit
)

#Remarks

A rating control allows your end-users to rate something. By default, it displays five stars (also called elements) representing a five-grade mark for rating. You can provide custom element images and customize other look & feel settings, including the number of elements displayed, the control’s orientation and direction, etc.

The TdxCustomRatingControl class extends its ancestor class with the Rating property that stores the current rating value and the properties that are specific to rating controls. The TdxCustomRatingControl class implements all the functionality needed by its descendants, TdxRatingControl and TdxDBRatingControl, which primarily publish inherited properties and events.

See Also