Using ButtonSpec instances in your KrytonHeader and KryptonHeaderGroup controls is now much easier with new design time features.

Adding a ButtonSpec to a control like the KrytonHeader is very easy. Just use the properties window to edit the ButtonSpecs collection property and define whatever you need. But hooking into the Click event is a pain. You can only do this by adding code manually.

Well no more. Now when you click on the displayed button specification on the control it will change the selection to the ButtonSpec instance. You can then alter the properties or view the component events in the property window. Even better, when you double click the button it automatically generates the click event handler in your code. Just like it does for a conventional button. This is much more intuitive and speeds up development.

Leave a Reply