Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing cell background color #262

Closed
Romeo84095 opened this issue Jul 19, 2019 · 3 comments
Closed

Editing cell background color #262

Romeo84095 opened this issue Jul 19, 2019 · 3 comments

Comments

@Romeo84095
Copy link

Hi! Could you pls advise, how can i change editing cell background color? (win forms app)

Here the screenshot

sample

@Eireannanl
Copy link

Eireannanl commented Jul 26, 2019

I tried to reproduce that your problem but couldn't. Here's what I got.
devenv_2019-07-27_02-09-32

I used following code

var sheet = reoGridControl1.CurrentWorksheet;

var range = sheet.Ranges[0, 0, 5, 5];
range.Style.BackColor = SolidColor.Black;
range.Style.TextColor = SolidColor.White;

sheet.SetRangeBorders(range, BorderPositions.InsideAll,
new RangeBorderStyle
{
     Color = SolidColor.White,
     Style = BorderLineStyle.Solid
});

Hopefully this will solve your problem :)

@jingwood
Copy link
Member

jingwood commented Dec 4, 2019

Use this can change the edit-box background. But edit-text will also be changed to black so this need to be fixed.

reoGridControl1.ControlStyle.SetColor(ControlAppearanceColors.GridBackground, Color.Black);

@jingwood
Copy link
Member

jingwood commented May 5, 2021

This problem has been resolved since v3.0.0, please use the latest packages.

@jingwood jingwood closed this as completed May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants