I have a grid that has a lot of bands and am wondering if there is a way to apply ValueBased conditions across the bands and columns. For example, if the % > 10% then set the forecolor to red.
Hello,
Thank you for posting in our forums.
What you could do in order to achieve this is to use the InitializeRow event. It will fire each time a row has changed. In it you can check the value that you are interested in and apply the desired appearance to a cell in another column or band.
I have attached a sample demonstrating this suggestion.
Please let me know if you have any additional questions.
I understand what you are doing but it's not a practical application for my situation. We build lots of grids and I need it to be more generic. Is it possible to access the ValueBasedAppearance settings created during design time. My thought is that I could enter the property values once but then apply the settings to the bands and columns that I want in the code.