CLONED FROM [Q570580: Problem with CheckBoxRowSelect]
Hi,
As I would like to have the focusedrow appearance like the appearance of a checked row (or the focusedrow when there is no checkedbox column), do you have the color code of this ? (I am using the Office 2013 skin).
Hope I am clear
Regards
How to get FocusedRow's color
Answers approved by DevExpress Support
Hello,
You can get the FocusedRow color from the current skin as follows:
C#DevExpress.Skins.Skin currentSkin;
DevExpress.Skins.SkinElement element;
string elementName;
currentSkin = DevExpress.Skins.CommonSkins.GetSkin(gridControl1.LookAndFeel);
Color color = currentSkin.Colors["Highlight"];
Please try this solution and inform us of your results.
I am looking forward to your reply.
Hello,
I have added your code to the sample and all works as expected. Attached is a project and video that illustrate my attempts to reproduce your scenario and the issue you are experiencing. Would you please modify the sample to illustrate the issue? We will do our best to find an appropriate solution for you.
I hope to hear from you soon.
My bad, I was just doing something wrong, it works fine now.
Thank you very much for your help !
Hello,
I am glad to hear that my assistance was helpful to you. Feel free to contact us if you have further questions.