Back to Devexpress

RatingContextButton.FillPrecision Property

windowsforms-devexpress-dot-utils-dot-ratingcontextbutton-597d8e0e.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

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 DevExpress.XtraEditors.RatingItemFillPrecision enumeration value that specifies the rating precision.

|

Remarks

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 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

RatingContextButton Class

RatingContextButton Members

DevExpress.Utils Namespace