Posted 23 September 2022, 8:16 pm EST - Updated 3 October 2022, 11:25 pm EST
I want to know if this is possible:
I want to build a WPF MVVM app bound to the viewmodel.
I want to create a dataset of complex objects. I want to bind each flexgrid cell to each field in the dataset. This means, I want not only the displayed text but all of the fgcell properties to be set by the field they are attached to. As the status of the data fields change the cells will update as usual with INotifyPropertyUpdate. Example: If a Booking field is populated then the cell shows plain text with a white background and no image (or 1px transparent). The booking is updated, so the background changes to green and the image is a green tick. The booking is cancelled; the font is red and strike through, the bg is grey, and the image is a red “X”.
The cells update every time just by updating the underlying dataset.
Is this possible with this version of the control?