Hi, I am attempting to attach a command object of type DelegateCommand<Color> to a xamColorPicker so that the command gets executed when a colour is selected. I noticed the XamPickerCommandSource class which appears to do the job according to the sparse documentation.
Could an example of its use please be provided?
Thanks,
Jason
Hello Jason,
After some research I have discussed with our engineering team, and it seems that you may need ICommand implementation that invokes specific action. ColorPicker is not an ICommandSource therefore it has no triggerring mechanism to execute a command. You would need to write or use a behavior that will execute a command (your Delegate Command in this case) when a given event is invoked. Some implementation, writing behavior or about custom commands can be found here:
http://msdn.microsoft.com/en-us/library/ms752308.aspx
Sam