Archive for September, 2007

When you add a DataGridViewCheckBoxColumn you do not get to see a check box image. Instead you get the text True or False drawn. Clearly this is not very useful and not the result you expect. To solve this we have a new column type called KryptonDataGridViewCheckBoxColumn.

The advantage of this new column is that it draws the image in the palette specific manner. So here is a picture of the different check box states using the column.

The current release of Krypton Toolkit requires you use the standard DataGridView column types for defining your grid columns. Unfortunately this leads to a couple of issues.

Text drawn by the default standard DataGridViewTextBoxColumn type does not match the other Krypton text drawing routines. You can see in the following image a difference in text drawing between the first and second columns. 

Our first column is defined using the new KryptonDataGridViewTextBoxColumn type and the second column is using the default existing column type. It is not quite so obvious with a .jpg picture but the second column does not look quite as nice and certainly does not match other Krypton controls.

So starting with the next release you should replace your columns with the new Krypton specific type. Our next entry will solve another bug that is apparent with the current release.