A small (aiming bigger) extension containing one business type and 4 controls. This is a small payback to the LS community for all the help me and my company got from the community. This being the first ever contribution, comments and suggestions, both on use and implementation issues, will be greatly appreciated. Source code can be foundhere.
Contents
A Color business type based on System.Int32 (not supporting nulls in this version)
ColorPicker/ColorViewer controls for editing/viewing Color values respectively
BooleanCheckbox/BooleanViewer controls for editing/viewing (I hate true/false labels) Boolean and Boolean? types.
Remarks on Use
No matter how helpful Justin Anderson has been, I didn't manage (blushing) to automaticaly reflect read-only setting to my controls. So you have to select in the designer.
Not being able to locate (my problem I guess) documentation on how to define alignment and sizing defaults for my controls, you have to manually set Left/Top alignment for detail controls.
The color picker has an issue (or I cause it) with alpha channel and when editing a new record you might have to "nudge" a bit the slider bar on the left to get a proper result.
Remarks on Implementation
For the ColorPicker control I used the Silverlight color picker control inluded in SilverlightContrib,distributed under Microsoft Public License (Ms-PL). Apart from the license permitting it, I asked for an explicit permission by email, but having no answer yet and this being a free extension, I believe there should be no problem using it. If you download the code it's very easy to change this with a commercial (or not) color picker. Also, I you have any better (free) suggestion for me to replace in the extension, please provide feedback.
ColorPicker and ColorViewer controls provide two controls each, automatically selected, one for collections and one for details. Making good use of the imformation Justin Anderson provided in the "aforelinked" thread, I implemented wrapper controls instead of using control templates as I believe templates are more targeted to dynamic runtime behaviour.
You can reuse the 2 value converters found in CLASSExtensions.Client in your projects. They are not documented but I believe the functionality is obvious and quite usefull.