How to control selection color for databand

Stimulsoft Reports.NET discussion
Post Reply
markuswe
Posts: 5
Joined: Fri Sep 13, 2019 9:07 am

How to control selection color for databand

Post by markuswe »

Immy report, I have a databand using the interactive selection option.

How do I control the background color of the currently selected and the highlighted selection (mouse over), and the red color it is using by default does not fit my requirements.

I cannot find anything in the documentation.

Thanks
Lech Kulikowski
Posts: 7295
Joined: Tue Mar 20, 2018 5:34 am

Re: How to control selection color for databand

Post by Lech Kulikowski »

Hello,

You can use the following option:

Code: Select all

StiOptions.Viewer.InteractionMouseOverStyle.Brush = new StiSolidBrush(Color.Black);
Thank you.
markuswe
Posts: 5
Joined: Fri Sep 13, 2019 9:07 am

Re: How to control selection color for databand

Post by markuswe »

Thanks for the feedback.

So, there is no option to style this in the report. It has to be done globally?
Post Reply