Back to Devexpress

RepositoryItemRatingControl.HoverGlyph Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemratingcontrol-3d263d92.md

latest3.3 KB
Original Source

RepositoryItemRatingControl.HoverGlyph Property

Gets or sets the image displayed by hovered items within this RatingControl.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Appearance")]
public Image HoverGlyph { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property HoverGlyph As Image

Property Value

TypeDefaultDescription
Imagenull

An Image displayed by hovered items within this RatingControl.

|

Remarks

The RatingControl has three images, displayed for control items depending on their visual state.

Depending on whether or not the RatingControl is allowed to display fractional ratings (see the RepositoryItemRatingControl.FillPrecision property), a single rating item can display two or all three glyphs at the same time. For instance, in the figure above the rating control’s fill precision is set to Half. It’s third star is completely selected and half-hovered, so this rating item displays both regular and hover glyphs. The total control’s rating equals 4.5 , which makes the last star simultaneously display the checked glyph for its first half and regular glyph for the last one.

See Also

Glyph

CheckedGlyph

FillPrecision

RepositoryItemRatingControl Class

RepositoryItemRatingControl Members

DevExpress.XtraEditors.Repository Namespace