Add ratings cell tool tips
This commit is contained in:
parent
b4838d364e
commit
b97d8e9403
3 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue