RatingContextButton.FillPrecision Property

Gets or sets whether the rating can be specified with precision up to integers, integers and half-integers, or decimals.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll


public RatingItemFillPrecision FillPrecision { get; set; }
Public Property FillPrecision As RatingItemFillPrecision

Property Value

Type Default Description


A DevExpress.XtraEditors.RatingItemFillPrecision enumeration value that specifies the rating precision.


The FillPrecision property specifies how precisely an end-user can set the rating (see RatingContextButton.Rating) using the mouse pointer. This property also affects how the grading scale glyphs (see ContextItem.Glyph, ContextItem.HoverGlyph and RatingContextButton.CheckedGlyph) are rendered. The DevExpress.XtraEditors.RatingItemFillPrecision enumeration provides the following values:

  • Full—the default mode. The rating can only be set an integer value. When a grading scale point is hovered over with the mouse cursor, its glyph is fully changed to the hover state glyph, regardless of the exact mouse position over the scale point. The checked and unchecked points are also rendered by the solid glyphs of the corresponding states.


  • Half—this mode, in addition to integers, allows the rating to also be set to half-integer values. The grading scale points can be rendered by half by the corresponding glyphs in this mode.


  • Exact—the rating can be set to a decimal value based on the exact position of the mouse cursor over the scale point. The grading scale points can be rendered by the corresponding glyphs in any proportion.


See Also