Add ratings cell tool tips

This commit is contained in:
Michael Bucari-Tovo 2022-12-31 11:12:04 -07:00
parent b4838d364e
commit b97d8e9403
3 changed files with 7 additions and 3 deletions

View file

@ -44,8 +44,9 @@ namespace LibationWinForms.GridView
{
if (value is Rating rating)
{
ToolTipText = "Click to change ratings";
var starString = rating.ToStarString();
ToolTipText = starString;
base.Paint(graphics, clipBounds, cellBounds, rowIndex, cellState, starString, starString, errorText, cellStyle, advancedBorderStyle, paintParts);
}
else