DataGridThe .net compact framework (I'm using v3.5) is a bit limited. I am trying to display an bool-value with application-specific texts, such as on / off or true / false translations. I created a class DataGridBoolColumnthat inherits from DataGridTextBoxColumn, and there I override the method Paint. But I have problems with returning the current value of the cell, since there is no GetColumnValueAtRowmethod in the comapct infrastructure.
In my small application, I know that the grid is bound to DataView, and I can pass the appropriate objects to my constructor so that I can see the value. But this is not the usual general way, so I cannot use this class in other applications with other related data sources. Is there a βfasterβ way to get the current value in a method Paint?
source
share