Skip to main content

TdxCustomRatingControl Class

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

Declaration

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