Thanks!! :-D
Additional tip:
I was trying to get a value from the command source:
I.e. I have a color picker, I want it to be initialized to the current color
of the SetColorCommand target.
There is no way to do that!
But... little trick....
ICommand.CanExecute(object obj) take any object as argument.
I used something like:
public class CommandCanExecuteArg
{
object val;
public CommandCanExecuteArg(object val)
{
this.val = val;
}
public object Parameter { get { return val; } }
public object ReturnValue { get; set; }
}
and I pass an instance of it to CanExecute(), this way the
SetColorCommandTarget can return its current color in ReturnValue

Signature
Regards,
Lloyd Dupont
NovaMind Software
Mind Mapping at its best
www.nova-mind.com
> Well done!
>
[quoted text clipped - 13 lines]
>> want
>> your event handler to be called....