In Visual FoxPro, a developer had the ability to set the foreground/background color and font attributes dynamically for any cell in a grid, based on a runtime condition. There were actually properties called...
Grid.DynamicForecolor = 'IIF(
,'RED','BLUE')
Grid.DynamicForeBold = 'IIF(,.t.,.f.)
It was very powerful for our UI. I'm trying to do the same thing with a WinForms datagrid, and have been having some problems. You have to write a fair amount of code to do this.
I pulled down different code samples on SYNCFUSION [in their WinForms FAQ section]. Each sample provides some of the functionality, but not all of it. One code sample actually provided all the capabilities, but then I could no longer access the column ALIGNMENT property, which I use to right-justify numeric fields.
Has anyone tried this? Is there a 3rd party grid column style that will do this?
Thanks,
Kevin