Hello and welcome back to the second part of what's new in Klik! EntryLib.Net. In this part we continue to give further clues about visual enhancemens as well as representing another new control...
Give me more pretty interfaces...
In the first part we had informed you about the drawing speed improvements and new Office 2007 styles. Let's continue to look into the enhancements on drawing different parts of the controls :
- BackgroundImageStyle / ForeGroundImageStyle: Background and Foreground Image classes now have 2 additional image effects added. The first one is called Mirror (Reflection is another common name for it). What it simply does is that it creates a reflection effect of your image which looks incredibly cool and very common nowadays. The second one is called Fade and what it does is to slowly fade your image from it's top to bottom.
- BorderStyle : Borders can now be painted using LinearGradient brushes, where you could only use solid colors in the last version.
- TextStyle : A new text type has been introduced, which is called Glow. When activated, it creates a glow effect around the drawn text with your choosen color.
A nicer way to list your data, ELDataGridView...
Since it's introduction in .Net v2, DataGridView was one of my favorite list controls, despite it's performance problems when you try to display large amount of data. At this point, let me also inform you that our list controls library is coming soon as well, infact just after Klik! EntryLib.Net v2, which will include a nice grid alike control in it
.
Thankfully, DataGridView is flexible enough so you can ownerdraw nearly all of the elements in it. Our implementation, although does not add anything to it's functionality, adds some nice visual properties to the original control which can be used to create a consistent look with other Klik! EntryLib.Net controls. It supports Office 2007, Office 2003 and other built-in custom styles out of the box and you can adjust those new properties to create your own unique look where you can change the header and selection styles of the control. It's also fully compatible with the old DataGridView, so you can simply replace you old controls with it easily. The above screenshot shows you the look of Office 2007 ModernBlue style, not bad ha?
This was all for this time and see you soon in the next part...