Skip to main content

RepositoryItemRatingControl.FillPrecision Property

Gets or sets whether partly checked glyphs are enabled.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(RatingItemFillPrecision.Full)]
[DXCategory("Appearance")]
public RatingItemFillPrecision FillPrecision { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.RatingItemFillPrecision Full

A value that specifies the rating precision.

Remarks

The FillPrecision property specifies how end-users can set the rating using the mouse pointer, and how glyphs (RepositoryItemRatingControl.Glyph, RepositoryItemRatingControl.HoverGlyph and RepositoryItemRatingControl.CheckedGlyph) are checked. The RepositoryItemRatingControl class supports three precision types:

  • Full - The rating can only be set to an integer value. Clicking anywhere within an icon checks the icon in its entirety.
  • Half - The rating can be set to integer and half-integer values (0, 0.5, 1, 1.5, etc.). An icon can be checked in its entirety as well as half-checked.
  • Exact - The rating is set to a decimal value based on the exact position of the mouse cursor over an icon. An icon is checked up to the position where it was clicked. For instance, the following figure illustrates a RatingControl that displays a value of 3.68.

    RatingControl - ExactFill

See Also