Hello,
I would like to ask you, how can i do for forcing my cards to be on the same line ?
Thank you
Hello Myrco,
I made some additional research. As Mike wrote to have only one card caption painted with different back color you need to use draw filter. Please find attached sample solution whit only one card caption back color painted in custom color.
Please let me know if this is what you are looking for or if I am missing something.
It's working, but it doesn't what i wanted. I realy want changing the BackColor for one row.
I will try with DrawFilter and submit a feature request.
Thank you.
Hi,
Are you saying that setting the BackColor on the row isn't working at all? Or that it's just not doing what you want it to do, which is to change the color of the header?
If it's not working at all, then it must be getting overriden by some other setting in your application or possibly by AppStylist. In which case, you will probably have the same problem setting the color of the header.
Unfortunately, there is currently no way to set the Appearance on the card caption area. You'd have to use a DrawFilter. You should Submit a Feature Request to Infragistics and perhaps this can be added in a future release.
With a little coding, you can achieve what you want using a DrawFilter. Here's a KB article to point you in the right direction. It's using Images, but you can just as easily set the BackColor. Let me know if you need any further assistance getting it working. :)
HOWTO:How can I have each Card in an UltraWinGrid display a different image based on the data in the row?
It's not working. What i want it's change the color for one card's header.In my exemple, it's one who have " [C] "
A card is a row. So you apply an appearance to the row, just as if it were a normal row using the row's Appearance property.
this.ultraGrid1.Rows[0].Appearance.BackColor = Color.Red;