Skip to main content

TdxCustomRatingControlProperties Class

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

Declaration

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