Looking at the samples of code inside the Code Snippets portion of the Forums and comments left on the last two posts it seems there is a high demand for the selection to be shown in the orange style. In the same style as a checked button that has the glass look and feel. To support this I have added two built-in styles for the KryptonDataGridView control.

GridStyle = List
This is the default style and the one you have already seen in previous posts. It is appropriate for use where you are listing out data entries.

GridStyle = Sheet
An alternative style that shows the selection in the full glass style. This style would be appropriate for scenarios where the grid is being used as a large worksheet.

ToolTips
In order to ensure consistency I have overridden the way the tooltips were being shown to use the built-in tooltip drawing styles. This brings it into line with the KryptonNavigator and other Krypton Toolkit controls.

2 Responses to “KryptonDataGridView, III”

  1. jkr Says:

    great idea, but wouldn’t be better to let the user (programmer) change separately the header and the selection? because some might want to combine the two styles.

  2. Miketrix Says:

    Great work !

    I love the way you implement each visual feature… It’s always easy to use and good looking !

    About the previous comment, it’s probably true that the more flexible the controls are, the less changes requests you will get in the future… Maybe you already allows header and selection to be configured independently (does the GridStyle allow to be overriden ? like all visual settings of Krypton Toolkit)

    Anyway, that’s great job !

    Thanks !

    Mike.

Leave a Reply