Back to Devexpress

RepositoryItemRatingControl.FillPrecision Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemratingcontrol-baf09fb3.md

latest3.0 KB
Original Source

RepositoryItemRatingControl.FillPrecision Property

Gets or sets whether partly checked glyphs are enabled.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(RatingItemFillPrecision.Full)]
[DXCategory("Appearance")]
public RatingItemFillPrecision FillPrecision { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(RatingItemFillPrecision.Full)>
Public Property FillPrecision As RatingItemFillPrecision

Property Value

TypeDefaultDescription
DevExpress.XtraEditors.RatingItemFillPrecisionFull

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.

See Also

Glyph

HoverGlyph

CheckedGlyph

Rating

RepositoryItemRatingControl Class

RepositoryItemRatingControl Members

DevExpress.XtraEditors.Repository Namespace