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

TdxCustomRatingControlProperties Class

Serves as the base class for classes that contain rating control settings.

#Declaration

Delphi
TdxCustomRatingControlProperties = class(
    TcxCustomEditProperties
)

#Remarks

This class extends its ancestor classes with properties that allow you to customize the appearance and behavior of rating controls. With these properties, you can:

  • Change the number of elements (stars) displayed in the control (ItemCount).

  • Switch the control’s orientation to horizontal or vertical (Orientation).

  • Reverse control direction (ReverseDirection).

  • Provide custom element images (CheckedGlyph, Glyph, and HoverGlyph).

  • Choose between three element fill modes: fill entire stars only, use half-star precision, or fill stars as specified by the control’s rating value (FillPrecision).

  • Specify the amount by which end-users can adjust the control’s rating value using the arrow keys (Step).

The TdxCustomRatingControlProperties class implements the essential functionality required by rating controls. The derived TdxRatingControlProperties class simply publishes the inherited properties and events.

A TdxCustomRatingControlProperties object is referenced by the TdxCustomRatingControl.Properties property.

See Also