Hi everyone!!
I have a Wingrid on my APP and I need to get the Appearance of Header Row (backcolor and font).
Is there any property that I can use for this?
Thank you.
Beste regards,
Maria
Hello Maria,
If you mean the 'Caption' of the WinGrid control, at least this is what I understood from your post, you could access its appearance through:
ultraGrid1.DisplayLayout.CaptionAppearance
Please feel free to let me know if I misunderstood you or if you have any other questions.
Actually, the CaptionAppearance will not be very helpful, because it will only return properties that you set on it. It doesn't return the actual on-screen appearance. You will probably need to call a method to resolve the appearance, but it's not clear what you mean by "Header Row". So if you could clarify what you are referring to, I could probably point you to the right method and give you some sample code.
First of all I want to thank you for your quick reply!
What I said "Header row" I meant the first "row" of the grid, where the Columns names appear.
I've already tried to use CaptionAppearance but in my particular case it doesn't help.
However, I found a way to solve my problem without using the grid's properties. :)
Best regards,