ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-01-11 16:07:32

williamlee1982
Member
Registered: 2016-01-06
Posts: 8

painting issue of custom DropdownCell

Hi,
overriding the OnPaint() method of the DropdownCell in a custom dropdown with the following codes cause the whole control painting fail.

dc.Graphics.DrawText("what ever", Cell.Style.FontName, Cell.Style.FontSize, Cell.Style.TextColor, Bounds, ReoGridHorAlign.Center, ReoGridVerAlign.Middle);

but this works:

dc.Graphics.DrawText("what ever", Cell.Style.FontName, Cell.Style.FontSize, Color.SkyBlue, Bounds, ReoGridHorAlign.Center, ReoGridVerAlign.Middle);

maybe this is a bug?

Offline

#2 2016-01-12 07:33:03

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: painting issue of custom DropdownCell

It's a bug. Cell.Style.TextColor doesn't return correct color value if no color styles specified for the cell. Thanks for reporting.

Offline

#3 2016-01-13 10:45:41

williamlee1982
Member
Registered: 2016-01-06
Posts: 8

Re: painting issue of custom DropdownCell

there is too many bugs to use the control in production.
can't wait for the new release.
what is the next release date by the way?

Offline

#4 2016-01-13 15:18:46

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: painting issue of custom DropdownCell

You can download the the latest version from here:
https://reogrid.net/download/

Offline

Board footer

Powered by FluxBB